Returns the value of the receiver's parameterized attribute corresponding to the specified attribute name and parameter.
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 accessibilityAttributeValue(_ attribute: NSAccessibility.Parameterized Attribute, forParameter parameter: Any?) -> Any?
Parameters
attribute
The name of the attribute. See Constants for lists of attribute names.
parameter
The parameter.
Discussion
If you implement this method, also implement accessibility
.