Contents

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 rl from which to remove timer. Use the constant Commonmodes to remove timer from the set of objects monitored by all the common modes.

Discussion

If rl does not contain timer in mode, this function does nothing.

See Also

Managing Timers