![]() |
API 0.9.5
|
A timer object that can send a message after the given time interval. More...
#import <CPTimer.h>
Inheritance diagram for CPTimer:Instance Methods | |
| (void) | - fire |
| (CPDate) | - fireDate |
| (id) | - initWithFireDate:interval:callback:repeats: |
| (id) | - initWithFireDate:interval:invocation:repeats: |
| (id) | - initWithFireDate:interval:target:selector:userInfo:repeats: |
| (void) | - invalidate |
| (BOOL) | - isValid |
| (void) | - setFireDate: |
| (CPTimeInterval) | - timeInterval |
| (id) | - userInfo |
Class Methods | |
| (CPTimer) | + scheduledTimerWithTimeInterval:callback:repeats: |
| (CPTimer) | + scheduledTimerWithTimeInterval:invocation:repeats: |
| (CPTimer) | + scheduledTimerWithTimeInterval:target:selector:userInfo:repeats: |
| (CPTimer) | + timerWithTimeInterval:callback:repeats: |
| (CPTimer) | + timerWithTimeInterval:invocation:repeats: |
| (CPTimer) | + timerWithTimeInterval:target:selector:userInfo:repeats: |
A timer object that can send a message after the given time interval.
| - (void) fire |
| - (CPDate) fireDate |
| - (id) initWithFireDate: | (CPDate) | aDate | |
| interval: | (CPTimeInterval) | seconds | |
| callback: | (Function) | aFunction | |
| repeats: | (BOOL) | shouldRepeat | |
| - (id) initWithFireDate: | (CPDate) | aDate | |
| interval: | (CPTimeInterval) | seconds | |
| invocation: | (CPInvocation) | anInvocation | |
| repeats: | (BOOL) | shouldRepeat | |
| - (id) initWithFireDate: | (CPDate) | aDate | |
| interval: | (CPTimeInterval) | seconds | |
| target: | (id) | aTarget | |
| selector: | (SEL) | aSelector | |
| userInfo: | (id) | userInfo | |
| repeats: | (BOOL) | shouldRepeat | |
| - (void) invalidate |
| - (BOOL) isValid |
| + (CPTimer) scheduledTimerWithTimeInterval: | (CPTimeInterval) | seconds | |
| callback: | (Function) | aFunction | |
| repeats: | (BOOL) | shouldRepeat | |
| + (CPTimer) scheduledTimerWithTimeInterval: | (CPTimeInterval) | seconds | |
| invocation: | (CPInvocation) | anInvocation | |
| repeats: | (BOOL) | shouldRepeat | |
| + (CPTimer) scheduledTimerWithTimeInterval: | (CPTimeInterval) | seconds | |
| target: | (id) | aTarget | |
| selector: | (SEL) | aSelector | |
| userInfo: | (id) | userInfo | |
| repeats: | (BOOL) | shouldRepeat | |
| - (void) setFireDate: | (CPDate) | aDate |
| - (CPTimeInterval) timeInterval |
| + (CPTimer) timerWithTimeInterval: | (CPTimeInterval) | seconds | |
| callback: | (Function) | aFunction | |
| repeats: | (BOOL) | shouldRepeat | |
| + (CPTimer) timerWithTimeInterval: | (CPTimeInterval) | seconds | |
| invocation: | (CPInvocation) | anInvocation | |
| repeats: | (BOOL) | shouldRepeat | |
| + (CPTimer) timerWithTimeInterval: | (CPTimeInterval) | seconds | |
| target: | (id) | aTarget | |
| selector: | (SEL) | aSelector | |
| userInfo: | (id) | userInfo | |
| repeats: | (BOOL) | shouldRepeat | |