Declared in ETObject.h

Overview

NSTimer (ETTimerBlocks) is a helper category that will provide some blocks functionalities to NSTimer objects.

Tasks

Blocks handling.

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 generated NSTimer will fire the provided block.

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