The accessibility element’s parent in the accessibility hierarchy.
- macOS 10.10+
This property must contain a reference to another element in the accessibility hierarchy. If you create an
NSView subclass, you don’t typically need to set this value. The system automatically sets the parent to the nearest ancestor in the view hierarchy that is also in the accessibility hierarchy. If you use an
NSAccessibility subclass to represent an interface element that is not backed by a view, you can either set the parent property or you can call the
accessibility convenience method, which sets it automatically.