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

composedString(_:)

Return the current composed string.

Declaration 宣言

func composedString(_ sender: Any!) -> Any!

Parameters パラメータ

sender

The client object requesting the string.

Return Value 戻り値

The current composed string, which can be an NSString or NSAttributedString object. The returned object should be an autoreleased object.

Discussion 解説

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.

See Also 参照

Getting Input Strings and Candidates