Skip to content

Commit

Permalink
update availability
Browse files Browse the repository at this point in the history
  • Loading branch information
cconeil committed Oct 23, 2015
1 parent 55af280 commit bd1cc34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions STP.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = STP/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = because.STP;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -294,6 +295,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = STP/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = because.STP;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion STP/ForceTouchGestureRecognizer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import UIKit
import UIKit.UIGestureRecognizerSubclass

@available(iOS 9.0, *)
class ForceTouchGestureRecognizer: UIGestureRecognizer {

var force:CGFloat = 0.0
Expand All @@ -30,7 +31,6 @@ class ForceTouchGestureRecognizer: UIGestureRecognizer {
self.state = .Changed
}


override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent) {
super.touchesEnded(touches, withEvent: event)
self.state = .Ended
Expand Down

0 comments on commit bd1cc34

Please sign in to comment.