Contents

accessibilityArrayAttributeValues(_:index:maxCount:)

Returns a subarray of values of an accessibility array attribute.

Declaration

func accessibilityArrayAttributeValues(_ attribute: NSAccessibility.Attribute, index: Int, maxCount: Int) -> [Any]

Parameters

  • attribute:

    The accessibility array attribute.

  • index:

    The starting index.

  • maxCount:

    The maximum desired number of items requested.

Return Value

An array of values within the specified index and count.

Discussion

Note that this method does not take a range. The maximum count is the maximum desired number of items requested by an accessibility client. This number may be beyond the bounds of your array.

See Also

Deprecated Methods