Contents

accessibilityRange(forLine:)

Returns the range of characters in the specified line.

Declaration

func accessibilityRange(forLine lineNumber: Int) -> NSRange

Parameters

  • lineNumber:

    The line number to be examined.

Return Value

The range of characters for the specified line number. If the line ends with a newline character, including the newline is preferred.

See Also

Supporting Accessibility