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