NGridTouchDelegate Protocol Reference

Conforms to NSObject
Declared in NGridTouchDelegate.h

Overview

The NGridTouchDelegate protocol provides delegate for touch handling in the grid view.

– gridView:touchesBegan:withEvent:inCell: required method

Called when touches began in the given cell.

- (void)gridView:(NGridView *)gridView touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event inCell:(NGridCell *)cell

Parameters

gridView

Related grid view object.

touches

Set of touches.

event

Event.

cell

Touched cell.

Declared In

NGridTouchDelegate.h

– gridView:touchesEnded:withEvent:inCell: required method

Called when touches ended in the given cell.

- (void)gridView:(NGridView *)gridView touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event inCell:(NGridCell *)cell

Parameters

gridView

Related grid view object.

touches

Set of touches.

event

Event.

cell

Touched cell.

Declared In

NGridTouchDelegate.h

– gridView:touchesCancelled:withEvent:inCell: required method

Called when touches are cancelled in the given cell.

- (void)gridView:(NGridView *)gridView touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event inCell:(NGridCell *)cell

Parameters

gridView

Related grid view object.

touches

Set of touches.

event

Event.

cell

Touched cell.

Declared In

NGridTouchDelegate.h

– gridView:touchesMoved:withEvent:inCell: required method

Called when touches moved in the given cell.

- (void)gridView:(NGridView *)gridView touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event inCell:(NGridCell *)cell

Parameters

gridView

Related grid view object.

touches

Set of touches.

event

Event.

cell

Touched cell.

Declared In

NGridTouchDelegate.h

– gridView:didTapCell:fromRecognizer:

Called when the single tap is recognized in the given cell.

- (void)gridView:(NGridView *)gridView didTapCell:(NGridCell *)cell fromRecognizer:(UIGestureRecognizer *)recognizer

Parameters

gridView

Related grid view object.

cell

Related cell.

recognizer

Recognizer that recognized the tap.

Declared In

NGridTouchDelegate.h

– gridView:didDoubleTapCell:fromRecognizer:

Called when the double tap is recognized in the given cell.

- (void)gridView:(NGridView *)gridView didDoubleTapCell:(NGridCell *)cell fromRecognizer:(UIGestureRecognizer *)recognizer

Parameters

gridView

Related grid view object.

cell

Related cell.

recognizer

Recognizer that recognized the double tap.

Declared In

NGridTouchDelegate.h

– gridView:didLongTapCell:fromRecognizer:

Called when the long tap is recognized in the given cell.

- (void)gridView:(NGridView *)gridView didLongTapCell:(NGridCell *)cell fromRecognizer:(UIGestureRecognizer *)recognizer

Parameters

gridView

Related grid view object.

cell

Related cell.

recognizer

Recognizer that recognized the long tap.

Declared In

NGridTouchDelegate.h