The main run loop for the application. More...
#import <CPRunLoop.h>
Class Methods | |
(CPRunLoop) | + currentRunLoop |
(void) | + initialize |
(CPRunLoop) | + mainRunLoop |
Class Methods inherited from CPObject | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(void) | + cancelPreviousPerformRequestsWithTarget: |
(void) | + cancelPreviousPerformRequestsWithTarget:selector:object: |
(Class) | + class |
(BOOL) | + conformsToProtocol: |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesImplementSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isBindingExclusive: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + object:performSelector:withObject:afterDelay:inModes: |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
The main run loop for the application.
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,
Definition at line 2 of file CPRunLoop.h.
Registers a given timer with a given input mode.
Definition at line 313 of file CPRunLoop.j.
|
implementation |
Cancels the specified selector and target.
aSelector | the selector of the method to invoke |
aTarget | the target to invoke the method on |
the | argument for the method |
Definition at line 289 of file CPRunLoop.j.
|
implementation |
Returns the application's singleton CPRunLoop.
Definition at line 232 of file CPRunLoop.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 212 of file CPRunLoop.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 204 of file CPRunLoop.j.
|
implementation |
Provided by category CPRunLoop(CPDelayedPerform).
Definition at line 87 of file CPDelayedPerform.j.
Performs one pass through the run loop in the specified mode and returns the date at which the next timer is scheduled to fire.
Definition at line 342 of file CPRunLoop.j.
|
implementation |
Returns the application's singleton CPRunLoop.
Definition at line 240 of file CPRunLoop.j.
|
implementation |
Definition at line 270 of file CPRunLoop.j.
|
implementation |
Performs the specified selector on the specified target. The method will be invoked synchronously.
aSelector | the selector of the method to invoke |
aTarget | the target of the selector |
anArgument | the method argument |
anOrder | the message priority |
modes | the modes variable isn't respected. |
Definition at line 253 of file CPRunLoop.j.
|
implementation |
Definition at line 305 of file CPRunLoop.j.