Permalink
Browse files

Fix Swift 4.1 support

  • Loading branch information...
clementmangin committed May 6, 2018
1 parent 5401da8 commit 5b5ddbadff2845b2a32d7b94410f53cd5dfd0e08
@@ -216,7 +216,7 @@ public final class HorizontalDial: UIControl {
RunLoop.main.add(timer!, forMode: RunLoopMode.defaultRunLoopMode)
}
func step() {
@objc func step() {
let currentTime: TimeInterval = CACurrentMediaTime()
let elapsedTime = currentTime - self.lastTime;
@@ -216,7 +216,7 @@ public final class HorizontalDial: UIControl {
RunLoop.main.add(timer!, forMode: RunLoopMode.defaultRunLoopMode)
}
func step() {
@objc func step() {
let currentTime: TimeInterval = CACurrentMediaTime()
let elapsedTime = currentTime - self.lastTime;
@@ -216,7 +216,7 @@ public final class KCHorizontalDial: UIControl {
RunLoop.main.add(timer!, forMode: RunLoopMode.defaultRunLoopMode)
}
func step() {
@objc func step() {
let currentTime: TimeInterval = CACurrentMediaTime()
let elapsedTime = currentTime - self.lastTime;

0 comments on commit 5b5ddba

Please sign in to comment.