24 typedef void (^of_timer_block_t)(
OFTimer*);
34 id target, object1, object2;
39 of_timer_block_t block;
45 #ifdef OF_HAVE_PROPERTIES
46 @property (readonly, retain)
OFDate *fireDate;
59 + (instancetype)scheduledTimerWithTimeInterval: (
double)interval
61 selector: (
SEL)selector
62 repeats: (BOOL)repeats;
75 + (instancetype)scheduledTimerWithTimeInterval: (
double)interval
77 selector: (
SEL)selector
79 repeats: (BOOL)repeats;
95 + (instancetype)scheduledTimerWithTimeInterval: (
double)interval
97 selector: (
SEL)selector
100 repeats: (BOOL)repeats;
102 #ifdef OF_HAVE_BLOCKS
112 + (instancetype)scheduledTimerWithTimeInterval: (
double)interval
113 repeats: (BOOL)repeats
114 block: (of_timer_block_t)block;
127 + (instancetype)timerWithTimeInterval: (
double)interval
129 selector: (
SEL)selector
130 repeats: (BOOL)repeats;
143 + (instancetype)timerWithTimeInterval: (
double)interval
145 selector: (
SEL)selector
147 repeats: (BOOL)repeats;
163 + (instancetype)timerWithTimeInterval: (
double)interval
165 selector: (
SEL)selector
168 repeats: (BOOL)repeats;
170 #ifdef OF_HAVE_BLOCKS
180 + (instancetype)timerWithTimeInterval: (
double)interval
181 repeats: (BOOL)repeats
182 block: (of_timer_block_t)block;
197 - initWithFireDate: (
OFDate*)fireDate
198 interval: (
double)interval
200 selector: (
SEL)selector
201 repeats: (BOOL)repeats;
216 - initWithFireDate: (
OFDate*)fireDate
217 interval: (
double)interval
219 selector: (
SEL)selector
221 repeats: (BOOL)repeats;
235 - initWithFireDate: (
OFDate*)fireDate
236 interval: (
double)interval
238 selector: (
SEL)selector
241 repeats: (BOOL)repeats;
243 #ifdef OF_HAVE_BLOCKS
255 - initWithFireDate: (
OFDate*)fireDate
256 interval: (
double)interval
257 repeats: (BOOL)repeats
258 block: (of_timer_block_t)block;
293 - (double)timeInterval;
298 - (void)waitUntilDone;