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

NSTimer 

Inherits From:	NSObject 

Conforms To:	NSCoding
NSObject 

Declared In:	foundation/NSTimer.h 

Creating a Timer Object 

+ (void)scheduleTimerWithTimeInterval:(NSTimeInterval)seconds
invocation:(NSInvocation *)anInvocation	Invokes timerWithTimeInterval:invocation:repeats: 
repeats:(BOOL)repeats		and registers the new timer object with the current run
	 	loop object in the default mode.
+ (void)scheduleTimerWithTimeInterval:(NSTimeInterval)seconds
target:(id)anObject	Invokes timerWithTimeInterval:target:selector:repeats: 
selector:(SEL)aSelector		and registers the new timer object with the current run  
repeats:(BOOL)repeats	 	loop object in the default mode.
+ (void)scheduleTimerWithTimeInterval:(NSTimeInterval)seconds
target:(id)anObject	Invokes  timerWithTimeInterval:target:selector:withObject: 
selector:(SEL)aSelector		and registers the new timer object with the current run 
withObject:(id)anArgument	 	loop object in the default mode.
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)seconds
target:(id)anObject	Creates and returns a timer object suitable for registry with 
selector:(SEL)aSelector		an NSRunLoop object.  The timer object records a 
withObject:(id)anArgument	 	message (aSelector), a target object (anObject), and an argument (anArgument).
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)seconds
target:(id)anObject	Creates and returns a timer object suitable for registry with 
selector:(SEL)aSelector		an NSRunLoop object.  The timer object records a 
repeats:(BOOL)repeats	 	message (aSelector), a target object (anObject), and an interval (seconds) at which the message is to be sent to the target.  If repeats is YES, the timer object will repeatedly reschedule itself to fire seconds seconds from the last fire date.
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)seconds
invocation:(NSInvocation *)anInvocation	Creates and returns a timer object suitable for registry with 
repeats:(BOOL)repeats		an NSRunLoop object.  The timer object records an
	 	invocation (anInvocation) and an interval (seconds) at which the message is to be sent to the target.  If repeats is YES, the timer object will repeatedly reschedule itself to fire seconds seconds from the last fire date.

Firing the Timer 

- (void)fire	Causes the timer's message to be dispatched to its target.

Stopping the Timer 

- (void)invalidate	Stops the timer from ever firing again.

Getting the Fire Date

- (NSDate *)fireDate	Returns the date that the timer will next fire.