Contents

accessibilityVisibleCharacterRange()

Returns the range of visible characters in the document.

Declaration

optional func accessibilityVisibleCharacterRange() -> NSRange

Return Value

The range of the visible characters in the document. This method should return the range for entire lines. Characters that are horizontally clipped are included in this range.

Discussion

This method is the getter for the NSAccessibilityProtocol protocol’s accessibilityVisibleCharacterRange property.

See Also

Supporting Accessibility