CFRunLoopRemoveTimer(_:_:_:)
Removes a CFRunLoopTimer object from a run loop mode.
Declaration
func CFRunLoopRemoveTimer(_ rl: CFRunLoop!, _ timer: CFRunLoopTimer!, _ mode: CFRunLoopMode!)Parameters
- rl:
The run loop to modify.
- timer:
The run loop timer to remove.
- mode:
The run loop mode of
rlfrom which to removetimer. Use the constant Commonmodes to removetimerfrom the set of objects monitored by all the common modes.
Discussion
If rl does not contain timer in mode, this function does nothing.