Function

CFRunLoopCopyAllModes

Returns an array that contains all the defined modes for a CFRunLoop object.

Declaration

CFArrayRef CFRunLoopCopyAllModes(CFRunLoopRef rl);

Parameters

rl

The run loop to examine.

Return Value

An array that contains all the run loop modes defined for rl. Ownership follows the The Create Rule.

See Also

Managing Run Loop Modes

CFRunLoopAddCommonMode

Adds a mode to the set of run loop common modes.

CFRunLoopCopyCurrentMode

Returns the name of the mode in which a given run loop is currently running.