NSTimer(ETTimerBlocks) Category Reference
Declared in | ETObject.h |
Overview
NSTimer (ETTimerBlocks)
is a helper category that will provide some blocks
functionalities to NSTimer
objects.
Class Methods
delay:andExecuteBlock:
Creates a new NSTimer
object that will execute the provided block
after the specified interval.
+ (NSTimer *)delay:(NSTimeInterval)timeInterval andExecuteBlock:(void ( ^ ) ( void ))block
Parameters
- timeInterval
The
NSTimeInterval
after which the generatedNSTimer
will fire the providedblock
.
- block
The code
block
that will be executed when the time interval provided passes.
Return Value
A newly initialized NSTimer
object configured to fire the code block
after the provided interval.
Declared In
ETObject.h