Repeater Protocol Reference
public protocol Repeater
A protocol for objects that can repeat an action at regular intervals.
-
The handler that gets called when the timer fires.
Declaration
Swift
var eventHandler: (() -> Void)? { get } -
Resumes the repeating timer.
Declaration
Swift
func resume() -
Suspends the repeating timer.
Declaration
Swift
func suspend()