attributedString()
Returns an attributed string representing the receiver’s text storage.
Declaration
optional func attributedString() -> NSAttributedStringReturn Value
The attributed string of the receiver’s text storage.
Discussion
Implementation of this method is optional. A class adopting the NSTextInputClient protocol can implement this interface if it can be done efficiently to enable callers of this interface to access arbitrary portions of the receiver’s content more efficiently.