Declared in UIControl+Blocks.h
UIControl+Blocks.m

Overview

Introduces block callbacks to UIControl.

Instance Methods

addEventHandler:forControlEvents:

Add a callback block to a control event.

- (void)addEventHandler:(void ( ^ ) ( id sender ))handler forControlEvents:(UIControlEvents)controlEvents

Parameters

handler

The block that is called when an event occurs.

controlEvents

The events that would trigger a block.

Declared In

UIControl+Blocks.h