replace deprecated NSTextInput with NSTextInputClient