diff --git a/Classes/stackBlurViewController.m b/Classes/stackBlurViewController.m
index 1a8b087..0878f56 100644
--- a/Classes/stackBlurViewController.m
+++ b/Classes/stackBlurViewController.m
@@ -11,6 +11,7 @@
@implementation stackBlurViewController
+double currVal;
/*
@@ -37,6 +38,7 @@ - (void)viewDidLoad {
[super viewDidLoad];
source=[UIImage imageNamed:@"testIma.jpg"];
imagePreview.image=source;
+ currVal = 0;
}
@@ -63,8 +65,12 @@ - (void)viewDidUnload {
- (IBAction) sliderChanged:(UISlider *)sender
{
- NSLog(@"Slider:");
- imagePreview.image=[source stackBlur:sender.value];
+ double sVal = sender.value;
+ NSLog(@"Slider Value:%f", sVal);
+ if (abs(currVal-sVal) >= 1) {
+ imagePreview.image=[source stackBlur:sVal];
+ currVal = sVal;
+ }
}
- (void)dealloc {
[imagePreview dealloc];
diff --git a/stackBlur.xcodeproj/project.xcworkspace/xcuserdata/nickesposito.xcuserdatad/UserInterfaceState.xcuserstate b/stackBlur.xcodeproj/project.xcworkspace/xcuserdata/nickesposito.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..1a28b4c
Binary files /dev/null and b/stackBlur.xcodeproj/project.xcworkspace/xcuserdata/nickesposito.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/stackBlur.xcodeproj/xcuserdata/nickesposito.xcuserdatad/xcschemes/stackBlur.xcscheme b/stackBlur.xcodeproj/xcuserdata/nickesposito.xcuserdatad/xcschemes/stackBlur.xcscheme
new file mode 100644
index 0000000..7a72d80
--- /dev/null
+++ b/stackBlur.xcodeproj/xcuserdata/nickesposito.xcuserdatad/xcschemes/stackBlur.xcscheme
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/stackBlur.xcodeproj/xcuserdata/nickesposito.xcuserdatad/xcschemes/xcschememanagement.plist b/stackBlur.xcodeproj/xcuserdata/nickesposito.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..dea105c
--- /dev/null
+++ b/stackBlur.xcodeproj/xcuserdata/nickesposito.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+
+
+
+
+ SchemeUserState
+
+ stackBlur.xcscheme
+
+ orderHint
+ 0
+
+
+ SuppressBuildableAutocreation
+
+ 1D6058900D05DD3D006BFB54
+
+ primary
+
+
+
+
+
diff --git a/stackBlurViewController.xib b/stackBlurViewController.xib
index 10a224c..ddc95f6 100644
--- a/stackBlurViewController.xib
+++ b/stackBlurViewController.xib
@@ -1,31 +1,29 @@
- 1056
- 10K549
- 851
- 1038.36
- 461.00
+ 1552
+ 12C60
+ 3084
+ 1187.34
+ 625.00
-
- {320, 460}
+ {{0, 20}, {320, 460}}
+
3
MC43NQA
@@ -108,9 +109,9 @@
sliderChanged:
- 13
+ 3
- 11
+ 12
@@ -118,7 +119,9 @@
YES
0
-
+
+ YES
+
@@ -160,17 +163,19 @@
YES
-1.CustomClassName
+ -1.IBPluginDependency
-2.CustomClassName
- 6.IBEditorWindowLastContentRect
+ -2.IBPluginDependency
6.IBPluginDependency
8.IBPluginDependency
9.IBPluginDependency
-
+
YES
stackBlurViewController
+ com.apple.InterfaceBuilder.IBCocoaTouchPlugin
UIResponder
- {{239, 276}, {320, 480}}
+ com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
@@ -179,20 +184,16 @@
YES
-
- YES
-
+
YES
-
- YES
-
+
- 11
+ 12
@@ -224,204 +225,7 @@
IBProjectSource
- Classes/stackBlurViewController.h
-
-
-
-
- YES
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSError.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSFileManager.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSKeyValueCoding.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSKeyValueObserving.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSKeyedArchiver.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSObject.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSRunLoop.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSThread.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSURL.h
-
-
-
- NSObject
-
- IBFrameworkSource
- Foundation.framework/Headers/NSURLConnection.h
-
-
-
- NSObject
-
- IBFrameworkSource
- UIKit.framework/Headers/UIAccessibility.h
-
-
-
- NSObject
-
- IBFrameworkSource
- UIKit.framework/Headers/UINibLoading.h
-
-
-
- NSObject
-
- IBFrameworkSource
- UIKit.framework/Headers/UIResponder.h
-
-
-
- UIControl
- UIView
-
- IBFrameworkSource
- UIKit.framework/Headers/UIControl.h
-
-
-
- UIImageView
- UIView
-
- IBFrameworkSource
- UIKit.framework/Headers/UIImageView.h
-
-
-
- UIResponder
- NSObject
-
-
-
- UISearchBar
- UIView
-
- IBFrameworkSource
- UIKit.framework/Headers/UISearchBar.h
-
-
-
- UISearchDisplayController
- NSObject
-
- IBFrameworkSource
- UIKit.framework/Headers/UISearchDisplayController.h
-
-
-
- UISlider
- UIControl
-
- IBFrameworkSource
- UIKit.framework/Headers/UISlider.h
-
-
-
- UIView
-
- IBFrameworkSource
- UIKit.framework/Headers/UIPrintFormatter.h
-
-
-
- UIView
-
- IBFrameworkSource
- UIKit.framework/Headers/UITextField.h
-
-
-
- UIView
- UIResponder
-
- IBFrameworkSource
- UIKit.framework/Headers/UIView.h
-
-
-
- UIViewController
-
- IBFrameworkSource
- UIKit.framework/Headers/UINavigationController.h
-
-
-
- UIViewController
-
- IBFrameworkSource
- UIKit.framework/Headers/UIPopoverController.h
-
-
-
- UIViewController
-
- IBFrameworkSource
- UIKit.framework/Headers/UISplitViewController.h
-
-
-
- UIViewController
-
- IBFrameworkSource
- UIKit.framework/Headers/UITabBarController.h
-
-
-
- UIViewController
- UIResponder
-
- IBFrameworkSource
- UIKit.framework/Headers/UIViewController.h
+ ./Classes/stackBlurViewController.h
@@ -430,19 +234,18 @@
IBCocoaTouchFramework
com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS
-
+
com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3
YES
- stackBlur.xcodeproj
3
testIma.jpg
{720, 479}
- 141
+ 2083