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 146 of file CPRunLoop.j.
Registers a given timer with a given input mode.
Definition at line 253 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 229 of file CPRunLoop.j.
+ (CPRunLoop) currentRunLoop | [implementation] |
Returns the application's singleton CPRunLoop.
Definition at line 189 of file CPRunLoop.j.
- (id) init | [implementation] |
Definition at line 170 of file CPRunLoop.j.
+ (void) initialize | [implementation] |
Definition at line 162 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 272 of file CPRunLoop.j.
+ (CPRunLoop) mainRunLoop | [implementation] |
Returns the application's singleton CPRunLoop.
Definition at line 197 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 210 of file CPRunLoop.j.
- (void) performSelectors | [implementation] |
Definition at line 245 of file CPRunLoop.j.