The client object requesting the input method to commit the composition.
Instance Method
インスタンスメソッド
commit
commitComposition(_:)
Informs the controller that the composition should be committed.
Availability
- macOS 10.5+
Technology
- Input
Method Kit
Declaration 宣言
func commitComposition(_ sender: Any!)
Parameters パラメータ
sender
Discussion 解説
If an input method implements this method, it is called when the client wants to end the composition session immediately. A typical response would be to call the insert
method of the client and then clean up any per-session buffers and variables. After receiving this message an input method should consider the given composition session finished.