Returns an array of attribute names supported by the receiver.
Deprecated
This method is deprecated. Use the new method-based API instead. For more information, see Accessibility Programming Guide for OS X or NSAccessibility
.
SDK
- macOS 10.1–10.10Deprecated
Framework
- App
Kit
Declaration
func accessibilityAttributeNames() -> [NSAccessibility.Attribute]
Return Value
An array containing the attributes supported by the receiver.
Discussion
User interface classes must implement this method. Subclasses should invoke the superclass's implementation, if it exists, and append additional attributes or remove unsupported attributes. See Constants for lists of attribute names.