diff --git a/VisibleTouchViewSwift.xcodeproj/xcshareddata/xcschemes/VisibleTouchViewSwift.xcscheme b/VisibleTouchViewSwift.xcodeproj/xcshareddata/xcschemes/VisibleTouchViewSwift.xcscheme new file mode 100644 index 0000000..d64318f --- /dev/null +++ b/VisibleTouchViewSwift.xcodeproj/xcshareddata/xcschemes/VisibleTouchViewSwift.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/VisibleTouchViewSwift/VisibleTouchWindow.swift b/VisibleTouchViewSwift/VisibleTouchWindow.swift index 1bbe6bd..5dc09a5 100644 --- a/VisibleTouchViewSwift/VisibleTouchWindow.swift +++ b/VisibleTouchViewSwift/VisibleTouchWindow.swift @@ -18,7 +18,6 @@ public class VisibleTouchWindow: UIWindow { public var isShowTouchesEnabled: Bool = true public var appearAnimationDuration: Double = 0.1 - public var movementAnimationDuration: Double = 0.1 public var disappearAnimationDuration: Double = 0.1 private let pointerSize = CGSize(width: 50, height: 50) @@ -90,9 +89,7 @@ public class VisibleTouchWindow: UIWindow { touchFrame.origin.y = point.y - pointerSize.height / 2 // Animate movement - UIView.animate(withDuration: movementAnimationDuration) { - touchPointView.frame = touchFrame - } + touchPointView.frame = touchFrame } break diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..aa0d799 --- /dev/null +++ b/circle.yml @@ -0,0 +1,7 @@ +machine: + xcode: + version: 8.0 + +test: + override: + - set -o pipefail && xcodebuild -workspace 'VisibleTouchViewSwift.xcworkspace' -scheme 'VisibleTouchViewSwift' clean build test -sdk iphonesimulator -destination id=55CA63D0-DBF6-4F35-A5B6-31AA93F6A3E7 CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml \ No newline at end of file