Skip to content

Commit 9bc287a

Browse files
committed
Remove println
1 parent f380fc3 commit 9bc287a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

GMStepper/GMStepper.swift

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -233,19 +233,6 @@ import UIKit
233233
}
234234
}
235235

236-
/// Useful for logging the timer interval. You can call this in the timer handler to test the autorepeat option. Not used in the current implementation.
237-
lazy var printTimerGaps: () -> () = {
238-
var prevTime: CFAbsoluteTime?
239-
240-
return { _ in
241-
var now = CFAbsoluteTimeGetCurrent()
242-
if let prevTime = prevTime {
243-
println(now - prevTime)
244-
}
245-
prevTime = now
246-
}
247-
}()
248-
249236
required public init(coder aDecoder: NSCoder) {
250237
super.init(coder: aDecoder)
251238
setup()
@@ -293,6 +280,19 @@ import UIKit
293280
resetTimer()
294281
NSNotificationCenter.defaultCenter().removeObserver(self)
295282
}
283+
284+
/// Useful closure for logging the timer interval. You can call this in the timer handler to test the autorepeat option. Not used in the current implementation.
285+
// lazy var printTimerGaps: () -> () = {
286+
// var prevTime: CFAbsoluteTime?
287+
//
288+
// return { _ in
289+
// var now = CFAbsoluteTimeGetCurrent()
290+
// if let prevTime = prevTime {
291+
// print(now - prevTime)
292+
// }
293+
// prevTime = now
294+
// }
295+
// }()
296296
}
297297

298298
// MARK: Pan Gesture

GMStepperExample/GMStepperExample/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ class ViewController: UIViewController {
1717
}
1818

1919
func stepperValueChanged(stepper: GMStepper) {
20-
println(stepper.value)
20+
print(stepper.value)
2121
}
2222
}

0 commit comments

Comments
 (0)