Returns the count of the specified accessibility array attribute.
Deprecated
Use of this method is discouraged. Use the new method-based API instead. For more information, see Accessibility Programming Guide for OS X or NSAccessibility
.
SDK
- macOS 10.6+
Framework
- App
Kit
Declaration
func accessibilityArrayAttributeCount(_ attribute: NSAccessibility.Attribute) -> Int
Parameters
attribute
The accessibility array attribute.
Return Value
The number of items in the specified array attribute.
Discussion
If attribute
is not an array, an exception is raised.