(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSRunLoop 

Inherits From:	NSObject 

Conforms To:	NSCoding
NSObject 

Declared In:	foundation/NSRunLoop.h 

Accessing the Current Run Loop 

+ (NSRunLoop *)currentRunLoop	Returns the run loop object for the current thread.

Adding Timers 

- (void)addTimer:(NSTimer *)aTimer	Registers the timer aTimer with input filter mode.  The run 
forMode:(NSString *)mode		loop causes the timer to fire at its scheduled fire date.  Note that timers are removed from modes if they supply nil as their fire date.

Running a Run Loop

- (void)acceptInputForMode:(NSString *)mode	Runs the run loop, accepting input from the port
beforeDate:(NSDate *)limitDate		delegates for the mode specified by mode until the time specified by limitDate.
- (void)run	Runs the run loop in the default mode until there is nothing  to do.
- (BOOL)runMode:(NSString *)mode	Runs the run loop,  accepting  input from filter mode
beforeDate:(NSDate *)limitDate		until limitDate or until the earliest limit date for ports or timers in this mode.  Returns NO without starting the  run loop if there are no limit dates set for ports and timers (that is, there's nothing to do).
- (void)runUntilDate:(NSDate *)limitDate	Runs the run loop,  accepting  input from filter mode
		until limitDate or until there are no limit dates set for ports and timers (that is, there's nothing to do).