Instance Property
selectedRange
The selection range in characters as in the original string. Just like the markedRange property, its location contains the character index from the text beginning.
Declaration
var selectedRange: NSRange { get set }Declaration
@property (nonatomic) NSRange selectedRange;Declaration
selectedRange() -> NSRange
setSelectedRange_(selectedRange: NSRange)