Contents

current

Returns the run loop for the current thread.

Declaration

class var current: RunLoop { get }

Return Value

The NSRunLoop object for the current thread.

Discussion

If a run loop does not yet exist for the thread, one is created and returned.

See Also

Related Documentation

  • Threading Programming Guide

Accessing Run Loops and Modes