Function

CFRunLoopTimerDoesRepeat(_:)

Returns a Boolean value that indicates whether a CFRunLoopTimer object repeats.

Declaration

func CFRunLoopTimerDoesRepeat(_ timer: CFRunLoopTimer!) -> Bool

Parameters

timer

The run loop timer to test.

Return Value

true if timer repeats, or has a periodicity; otherwise false.

See Also

CFRunLoopTimer Miscellaneous Functions

func CFRunLoopTimerGetInterval(CFRunLoopTimer!)

Returns the firing interval of a repeating CFRunLoopTimer object.

func CFRunLoopTimerGetNextFireDate(CFRunLoopTimer!)

Returns the next firing time for a CFRunLoopTimer object.

func CFRunLoopTimerGetOrder(CFRunLoopTimer!)

Returns the ordering parameter for a CFRunLoopTimer object.

func CFRunLoopTimerGetTypeID()

Returns the type identifier of the CFRunLoopTimer opaque type.

func CFRunLoopTimerInvalidate(CFRunLoopTimer!)

Invalidates a CFRunLoopTimer object, stopping it from ever firing again.

func CFRunLoopTimerIsValid(CFRunLoopTimer!)

Returns a Boolean value that indicates whether a CFRunLoopTimer object is valid and able to fire.

func CFRunLoopTimerSetNextFireDate(CFRunLoopTimer!, CFAbsoluteTime)

Sets the next firing date for a CFRunLoopTimer object .