Contents

selectedText

A string that represents the selected text.

Declaration

var selectedText: String? { get }

Mentioned in

Discussion

Return nil if no active selection exists.

See Also

Managing selection