A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout area.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
protocol NSAccessibilityLayoutArea
Overview
Use this protocol when you want to create a canvas that contains layout items. You can further enhance the adopting element by implementing any of the information properties or action methods declared in the NSAccessibility
protocol.
Explicit Implementation Required
This protocol requires an explicit implementation of all the required methods that it declares (including all the explicitly required methods of any protocol it inherits from). Any class adopting this protocol must implement all of these methods. You can inherit these methods only from ancestors that also adopt a protocol that explicitly requires them.
In practice, this means that the compiler may force you to override some of the methods that your ancestors have already implemented. Simply follow the compiler’s warnings, and reimplement these methods as needed.