Instance Method

initWithFireDate:interval:repeats:block:

Initializes a timer for the specified date and time interval with the specified block.

Declaration

- (instancetype)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)interval repeats:(BOOL)repeats block:(void (^)(NSTimer *timer))block;

See Also

Creating a Timer

+ scheduledTimerWithTimeInterval:repeats:block:

Creates a timer and schedules it on the current run loop in the default mode.

+ scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:

Creates a timer and schedules it on the current run loop in the default mode.

+ scheduledTimerWithTimeInterval:invocation:repeats:

Creates a new timer and schedules it on the current run loop in the default mode.

+ timerWithTimeInterval:repeats:block:

Initializes a timer object with the specified time interval and block.

+ timerWithTimeInterval:target:selector:userInfo:repeats:

Initializes a timer object with the specified object and selector.

+ timerWithTimeInterval:invocation:repeats:

Initializes a timer object with the specified invocation object.

- initWithFireDate:interval:target:selector:userInfo:repeats:

Initializes a timer using the specified object and selector.