Permalink
Browse files

issue #6 fixed

  • Loading branch information...
OmidH committed Nov 11, 2012
1 parent 23e5c81 commit 734155eb8ddba26cddd7a5e7de139fa170b94e7a
View
@@ -4,3 +4,9 @@ FiltrrApp/.DS_Store
FiltrrApp/FiltrrApp.xcodeproj/xcuserdata/omid.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
FiltrrApp/FiltrrApp.xcodeproj/project.xcworkspace/xcuserdata/omid.xcuserdatad/UserInterfaceState.xcuserstate
+
+FiltrrApp/FiltrrApp.xcodeproj/project.xcworkspace/xcuserdata/omid.xcuserdatad/WorkspaceSettings.xcsettings
+
+FiltrrApp/FiltrrApp.xcodeproj/project.xcworkspace/xcuserdata/omid.xcuserdatad/UserInterfaceState.xcuserstate
+
+FiltrrApp/FiltrrApp.xcodeproj/xcuserdata/omid.xcuserdatad/xcschemes/FiltrrApp.xcscheme
@@ -162,7 +162,7 @@
2E40719014E526B800E4982C /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0420;
+ LastUpgradeCheck = 0450;
ORGANIZATIONNAME = 42dp;
};
buildConfigurationList = 2E40719314E526B800E4982C /* Build configuration list for PBXProject "FiltrrApp" */;
@@ -29,7 +29,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
self.navController.navigationBar.tintColor = [UIColor blackColor];
self.navController.delegate = self.viewController;
- //self.window.rootViewController = self.viewController;
[self.window addSubview:self.navController.view];
[self.window makeKeyAndVisible];
@@ -285,7 +285,9 @@ -(id) convolve:(NSArray *) kernel {
unsigned char* inData = CGBitmapContextGetData (cgctx);
NSData* pixelData = (__bridge NSData*) CGDataProviderCopyData(CGImageGetDataProvider(self.CGImage));
- unsigned char* outData = (unsigned char*)[pixelData bytes];
+ NSMutableData* mutablePixelData = [pixelData mutableCopy];
+// unsigned char* outData = (unsigned char*)[pixelData bytes];
+ unsigned char* outData = (unsigned char*)[mutablePixelData mutableBytes];
outData = [self convolveRaw:kernel InData:inData OuData:outData Height:_height Width:_width];
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
- <int key="IBDocument.SystemTarget">1280</int>
- <string key="IBDocument.SystemVersion">11D50b</string>
- <string key="IBDocument.InterfaceBuilderVersion">1938</string>
- <string key="IBDocument.AppKitVersion">1138.32</string>
- <string key="IBDocument.HIToolboxVersion">568.00</string>
+ <int key="IBDocument.SystemTarget">1536</int>
+ <string key="IBDocument.SystemVersion">12C60</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2844</string>
+ <string key="IBDocument.AppKitVersion">1187.34</string>
+ <string key="IBDocument.HIToolboxVersion">625.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">933</string>
+ <string key="NS.object.0">1930</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
- <string>IBUIView</string>
<string>IBUIImageView</string>
+ <string>IBUIView</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -45,6 +45,7 @@
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAAA</bytes>
+ <string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
</object>
<int key="IBUIContentMode">1</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
@@ -60,6 +61,10 @@
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="163457845"/>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <object class="IBUISimulatedSizeMetrics" key="IBUISimulatedDestinationMetrics">
+ <string key="IBUISimulatedSizeMetricsClass">IBUISimulatedFreeformSizeMetricsSentinel</string>
+ <string key="IBUIDisplayName">Freeform</string>
+ </object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
@@ -161,6 +166,6 @@
<string key="NS.key.0">filtrr_back.jpg</string>
<string key="NS.object.0">{465, 333}</string>
</object>
- <string key="IBCocoaTouchPluginVersion">933</string>
+ <string key="IBCocoaTouchPluginVersion">1930</string>
</data>
</archive>
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
- <int key="IBDocument.SystemTarget">1280</int>
- <string key="IBDocument.SystemVersion">11D50b</string>
- <string key="IBDocument.InterfaceBuilderVersion">1938</string>
- <string key="IBDocument.AppKitVersion">1138.32</string>
- <string key="IBDocument.HIToolboxVersion">568.00</string>
+ <int key="IBDocument.SystemTarget">1536</int>
+ <string key="IBDocument.SystemVersion">12C60</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2844</string>
+ <string key="IBDocument.AppKitVersion">1187.34</string>
+ <string key="IBDocument.HIToolboxVersion">625.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">933</string>
+ <string key="NS.object.0">1930</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
- <string>IBUIView</string>
<string>IBUITableView</string>
+ <string>IBUIView</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -41,7 +41,6 @@
<string key="NSFrameSize">{320, 460}</string>
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:418</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
@@ -61,13 +60,17 @@
<string key="NSFrame">{{0, 20}, {320, 460}}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAAA</bytes>
+ <string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
</object>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <object class="IBUISimulatedSizeMetrics" key="IBUISimulatedDestinationMetrics">
+ <string key="IBUISimulatedSizeMetricsClass">IBUISimulatedFreeformSizeMetricsSentinel</string>
+ <string key="IBUIDisplayName">Freeform</string>
+ </object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
@@ -181,6 +184,6 @@
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">933</string>
+ <string key="IBCocoaTouchPluginVersion">1930</string>
</data>
</archive>

0 comments on commit 734155e

Please sign in to comment.