Declared in UIView+DTActionHandlers.h

Overview

Methods to add simple block-based actions to UIViews.

Instance Methods

setLongPressActionWithBlock:

Attaches the given block for a long press action to the receiver.

- (void)setLongPressActionWithBlock:(void ( ^ ) ( void ))block

Parameters

block

The block to execute.

Declared In

UIView+DTActionHandlers.h

setTapActionWithBlock:

Attaches the given block for a single tap action to the receiver.

- (void)setTapActionWithBlock:(void ( ^ ) ( void ))block

Parameters

block

The block to execute.

Declared In

UIView+DTActionHandlers.h