41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
*
* @brief A class for creating and firing timers.
*/
@interface OFTimer: OFObject <OFComparing>
{
OFDate *_fireDate;
of_time_interval_t _interval;
id _target, _object1, _object2;
SEL _selector;
uint8_t _arguments;
bool _repeats;
#ifdef OF_HAVE_BLOCKS
of_timer_block_t _block;
#endif
bool _valid;
#ifdef OF_HAVE_THREADS
OFCondition *_condition;
bool _done;
#endif
OFRunLoop *_inRunLoop;
}
/*!
* The time interval in which the timer will repeat, if it is a repeating
* timer.
*/
@property (readonly, nonatomic) of_time_interval_t timeInterval;
|
|
>
|
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
*
* @brief A class for creating and firing timers.
*/
@interface OFTimer: OFObject <OFComparing>
{
OFDate *_fireDate;
of_time_interval_t _interval;
id _target;
id _Nullable _object1, _object2;
SEL _selector;
uint8_t _arguments;
bool _repeats;
#ifdef OF_HAVE_BLOCKS
of_timer_block_t _block;
#endif
bool _valid;
#ifdef OF_HAVE_THREADS
OFCondition *_condition;
bool _done;
#endif
OFRunLoop *_Nullable _inRunLoop;
}
/*!
* The time interval in which the timer will repeat, if it is a repeating
* timer.
*/
@property (readonly, nonatomic) of_time_interval_t timeInterval;
|