Contents

isSelectable

A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to select text.

Declaration

var isSelectable: Bool { get set }

Discussion

true to allow the user to select text of all text views sharing the receiver’s layout manager; otherwise, false.

If a text view is made not selectable, it’s also made not editable, and buttons on the Find panel are dimmed. Text views are by default both editable and selectable

See Also

Setting behavioral attributes