Public Member Functions | |
(id) | - init [implementation] |
(void) | - performSelector:target:argument:order:modes: [implementation] |
(void) | - cancelPerformSelector:target:argument: [implementation] |
(void) | - performSelectors [implementation] |
(void) | - addTimer:forMode: [implementation] |
(CPDate) | - limitDateForMode: [implementation] |
Static Public Member Functions | |
(void) | + initialize [implementation] |
(CPRunLoop) | + currentRunLoop [implementation] |
(CPRunLoop) | + mainRunLoop [implementation] |
There is one run loop per application, which may always be obtained through the +currentRunLoop method,
Definition at line 148 of file CPRunLoop.j.
Registers a given timer with a given input mode.
Definition at line 255 of file CPRunLoop.j.
- (void) cancelPerformSelector: | (SEL) | aSelector | ||
target: | (id) | aTarget | ||
argument: | (id) | anArgument | ||
[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 231 of file CPRunLoop.j.
+ (CPRunLoop) currentRunLoop | [implementation] |
Returns the application's singleton CPRunLoop.
Definition at line 191 of file CPRunLoop.j.
- (id) init | [implementation] |
Definition at line 172 of file CPRunLoop.j.
+ (void) initialize | [implementation] |
Definition at line 164 of file CPRunLoop.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 274 of file CPRunLoop.j.
+ (CPRunLoop) mainRunLoop | [implementation] |
Returns the application's singleton CPRunLoop.
Definition at line 199 of file CPRunLoop.j.
- (void) performSelector: | (SEL) | aSelector | ||
target: | (id) | aTarget | ||
argument: | (id) | anArgument | ||
order: | (int) | anOrder | ||
modes: | (CPArray) | modes | ||
[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 212 of file CPRunLoop.j.
- (void) performSelectors | [implementation] |
Definition at line 247 of file CPRunLoop.j.