Declared in UIGestureRecognizer+BMKitAdditions.h

Overview

BMKit related additions to the UIGestureRecognizer class.

Tasks

Initializing a Gesture Recognizer

Adding and Removing Blocks

Instance Methods

addBlock:

Adds a block to a gesture-recognizer object.

- (void)addBlock:(BMGestureRecognizerBlock)gestureRecognizerBlock

Parameters

gestureRecognizerBlock

A block that is the recipient of action messages sent by the receiver when it recognizes a gesture.

Declared In

UIGestureRecognizer+BMKitAdditions.h

initWithBlock:

Initializes an allocated gesture-recognizer object with a block.

- (id)initWithBlock:(BMGestureRecognizerBlock)gestureRecognizerBlock

Parameters

gestureRecognizerBlock

A block that is the recipient of action messages sent by the receiver when it recognizes a gesture.

Return Value

An initialized instance of a concrete UIGestureRecognizer subclass or nil if an error occurred in the attempt to initialize the object.

Declared In

UIGestureRecognizer+BMKitAdditions.h

removeBlock:

Removes a block from a gesture-recognizer object.

- (void)removeBlock:(BMGestureRecognizerBlock)gestureRecognizerBlock

Parameters

gestureRecognizerBlock

An object that currently is a recipient of action messages sent by the receiver when the represented gesture occurs. Specify nil if you want to remove all blocks and targets from the receiver.

Declared In

UIGestureRecognizer+BMKitAdditions.h