A role-based protocol that declares the minimum interface required for an accessibility element to act as a list view.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
protocol NSAccessibilityList
Overview
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.
While the NSAccessibility
protocol does not declare any methods, it does conform to the NSAccessibility
protocol. You may need to explicitly implement methods from any of the protocols that NSAccessibility
conforms to.