Instance Property


An array of the view’s tracking areas.


@property(readonly, copy) NSArray<NSTrackingArea *> *trackingAreas;


This property contains an array of NSTrackingArea objects. If the view has no tracking areas, the array is empty.

See Also

Managing Tracking Areas

- addTrackingArea:

Adds a given tracking area to the view.

- removeTrackingArea:

Removes a given tracking area from the view.

- updateTrackingAreas

Invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated.