Contents

accessibilityRange(forLine:)

Returns the range of characters in the specified line.

Declaration

func accessibilityRange(forLine line: Int) -> NSRange

Parameters

  • line:

    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

Configuring text elements