DispatchTimer
DispatchTimer
is a general-purpose wrapper over the DispatchSourceTimer
mechanism in GCD.
-
-
-
-
Initializes a new timer.
-
Arm the timer. Countdown will begin after this function returns.
-
Re-arm the timer. Countdown will restart after this function returns.
-
Disarm the timer. Countdown will stop after this function returns.