Instance Property

tracking

A Boolean value indicating whether the control is currently tracking touch events.

Declaration

@property(nonatomic, readonly, getter=isTracking) BOOL tracking;

Discussion

While tracking of a touch event is in progress, the control sets the value of this property to YES. When tracking ends or is cancelled for any reason, it sets this property to NO.

See Also

Tracking Touches and Redrawing Controls

- beginTrackingWithTouch:withEvent:

Called when a touch event enters the control’s bounds.

- continueTrackingWithTouch:withEvent:

Called when a touch event associated with the control is updated.

- endTrackingWithTouch:withEvent:

Called when a touch event associated with the control ends.

- cancelTrackingWithEvent:

Tells the control to cancel tracking related to the given event.

touchInside

A Boolean value indicating whether a tracked touch event is currently inside the control’s bounds.