Instance Method インスタンスメソッド

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 非推奨