CPObjectCPRunLoop
@implementation CPRunLoop : CPObject
CPRunLoop instances handle various utility tasks that must be performed repetitively in an application, such as processing input events. There is one run loop per application, which may always be obtained through the +currentRunLoop method,
Method Summary | |
---|---|
+(CPRunLoop) | currentRunLoop Returns the application's singleton CPRunLoop . |
+(CPRunLoop) | mainRunLoop Returns the application's singleton CPRunLoop . |
-(id) | init Initializes the receiver. |
-(void) | cancelPerformSelector:(SEL)aSelector target:(id)aTarget argument:(id)anArgument Cancels the specified selector and target. |
-(void) | performSelector:(SEL)aSelector target:(id)aTarget argument:(id)anArgument order:(int)anOrder modes:(CPArray)modes Performs the specified selector on the specified target. |
Method Detail |
---|
+(CPRunLoop)currentRunLoop
CPRunLoop
.+(CPRunLoop)mainRunLoop
CPRunLoop
.-(id)init
-(void)cancelPerformSelector:(SEL)aSelector target:(id)aTarget argument:(id)anArgument
aSelector
- the selector of the method to invokeaTarget
- the target to invoke the method onanArgument
-(void)performSelector:(SEL)aSelector target:(id)aTarget argument:(id)anArgument order:(int)anOrder modes:(CPArray)modes
aSelector
- the selector of the method to invokeaTarget
- the target of the selectoranArgument
- the method argumentanOrder
- the message prioritymodes
- the modes variable isn't respected.Created on Sat Sep 13 14:15:43 PDT 2008