The main run loop for the application. More...
#import <CPRunLoop.h>
Class Methods | |
(CPRunLoop) | + currentRunLoop |
(void) | + initialize |
(CPRunLoop) | + mainRunLoop |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(void) | + cancelPreviousPerformRequestsWithTarget: |
(void) | + cancelPreviousPerformRequestsWithTarget:selector:object: |
(Class) | + class |
(BOOL) | + conformsToProtocol: |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(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 253 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 229 of file CPRunLoop.j.
|
implementation |
Returns the application's singleton CPRunLoop.
Definition at line 189 of file CPRunLoop.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 170 of file CPRunLoop.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 162 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 282 of file CPRunLoop.j.
|
implementation |
Returns the application's singleton CPRunLoop.
Definition at line 197 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 210 of file CPRunLoop.j.
|
implementation |
Definition at line 245 of file CPRunLoop.j.