Instance Method インスタンスメソッド

originalString(_:)

Return the string that consists of the precomposed Unicode characters.

Declaration 宣言

func originalString(_ sender: Any!) -> NSAttributedString!

Parameters パラメータ

sender

The client object requesting the original string.

Return Value 戻り値

The original string of precomposed unicode characters. If an input method stores the original input text, it returns that text. The return value is an attributed string so that the input method can restore changes they made to the font, and other attributes, if necessary. The returned object should be an autoreleased object.

See Also 参照

Getting Input Strings and Candidates