CMTimebaseRemoveTimer(_:timer:)
Removes the timer from the list of timers the timebase manages.
Declaration
func CMTimebaseRemoveTimer(_ timebase: CMTimebase, timer: CFRunLoopTimer) -> OSStatusDiscussion
The timebase no longer maintain the timer’s “NextFireDate.” If the system invalidates the timer, the timebase eventually removes it from its list and releases it even if you don’t call this function.
See Also
Interacting with Timers
CMTimebaseAddTimer(_:timer:runloop:)CMTimebaseAddTimerDispatchSource(_:timerSource:)CMTimebaseRemoveTimerDispatchSource(_:timerSource:)CMTimebaseSetTimerNextFireTime(_:timer:fireTime:flags:)CMTimebaseSetTimerToFireImmediately(_:timer:)CMTimebaseSetTimerDispatchSourceNextFireTime(_:timerSource:fireTime:flags:)CMTimebaseSetTimerDispatchSourceToFireImmediately(_:timerSource:)