Instance Property


An array of the view’s tracking areas.


var trackingAreas: [NSTrackingArea] { get }


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

See Also

Managing Tracking Areas

func addTrackingArea(NSTrackingArea)

Adds a given tracking area to the view.

func removeTrackingArea(NSTrackingArea)

Removes a given tracking area from the view.

func updateTrackingAreas()

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