UIGestureRecognizer(BMKitAdditions) Category Reference
| Declared in | UIGestureRecognizer+BMKitAdditions.h |
Tasks
Initializing a Gesture Recognizer
-
– initWithBlock:Initializes an allocated gesture-recognizer object with a block.
Adding and Removing Blocks
-
– addBlock:Adds a block to a gesture-recognizer object.
-
– removeBlock:Removes a block from a gesture-recognizer object.
Instance Methods
addBlock:
Adds a block to a gesture-recognizer object.
- (void)addBlock:(BMGestureRecognizerBlock)gestureRecognizerBlockParameters
- gestureRecognizerBlock
A block that is the recipient of action messages sent by the receiver when it recognizes a gesture.
See Also
Declared In
UIGestureRecognizer+BMKitAdditions.hinitWithBlock:
Initializes an allocated gesture-recognizer object with a block.
- (id)initWithBlock:(BMGestureRecognizerBlock)gestureRecognizerBlockParameters
- 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.
See Also
Declared In
UIGestureRecognizer+BMKitAdditions.hremoveBlock:
Removes a block from a gesture-recognizer object.
- (void)removeBlock:(BMGestureRecognizerBlock)gestureRecognizerBlockParameters
- gestureRecognizerBlock
An object that currently is a recipient of action messages sent by the receiver when the represented gesture occurs. Specify
nilif you want to remove all blocks and targets from the receiver.
See Also
Declared In
UIGestureRecognizer+BMKitAdditions.h