isSelectable
A Boolean that controls whether the receiver allows the user to select its text.
Declaration
var isSelectable: Bool { get set }Discussion
If flag is true, the receiver allows the user to select text; if flag is false, it doesn’t.
You can set selections programmatically regardless of this setting. If the receiver is made not selectable, it’s also made not editable. NSText objects are by default editable and selectable.