Instance Property


A Boolean value indicating whether the receiver is selectable.


var isSelectable: Bool { get set }


This property controls the ability of the user to select content and interact with URLs and text attachments. The default value is true.

See Also

Working with the Selection

var selectedRange: NSRange

The current selection range of the receiver.

func scrollRangeToVisible(NSRange)

Scrolls the receiver until the text in the specified range is visible.

var clearsOnInsertion: Bool

A Boolean value indicating whether inserting text replaces the previous contents.