func originalString (Any!) -> NSAttributedString!
Return the string that consists of the precomposed Unicode characters.
func candidates(Any!) -> [Any]!
Returns an array of candidates.
Availability
Technology
func composedString(_ sender: Any!) -> Any!
sender
The client object requesting the string.
The current composed string, which can be an NSString
or NSAttributed
object. The returned object should be an autoreleased object.
A composed string refers to the buffer that an input method typically maintains to mirror the text contained in the active inline area. It is called the composed string to reflect the fact that the input method composed the string by converting the characters input by the user. In addition, using the term composed string makes it easier to differentiate between an input method buffer and the text in the active inline area that the user sees.
func originalString (Any!) -> NSAttributedString!
func candidates(Any!) -> [Any]!