Instance Method

smartMagnifyWithEvent:

Informs the receiver that the user performed a smart zoom gesture.

Declaration

- (void)smartMagnifyWithEvent:(NSEvent *)event;

Parameters

event

An event object representing the smart zoom gesture.

Discussion

The smart zoom gesture is a two-finger double tap on trackpads. In response to this event, you should intelligently magnify the content.

See Also

Touch and Gesture Events

- beginGestureWithEvent:

Informs the receiver that the user has begun a touch gesture.

- endGestureWithEvent:

Informs the receiver that the user has ended a touch gesture.

- magnifyWithEvent:

Informs the receiver that the user has begun a pinch gesture.

- rotateWithEvent:

Informs the receiver that the user has begun a rotation gesture.

- swipeWithEvent:

Informs the receiver that the user has begun a swipe gesture.

- touchesBeganWithEvent:

Informs the receiver that new set of touches has been recognized.

- touchesMovedWithEvent:

Informs the receiver that one or more touches has moved.

- touchesCancelledWithEvent:

Informs the receiver that tracking of touches has been cancelled for any reason.

- touchesEndedWithEvent:

Returns that a set of touches have been removed.

- wantsForwardedScrollEventsForAxis:

Returns whether to forward elastic scrolling gesture events up the responder.

- wantsScrollEventsForSwipeTrackingOnAxis:

Implement this method to track gesture scroll events such as a swipe.

NSEventGestureAxis

The gesture tracking axis.