Questions tagged [nstextinput]

NSTextInput is a Cocoa AppKit class.

NSTextInput is the Cocoa Appkit class used to convert keyboard input to character sequences using input methods ranging from compositing characters to extended input windows.

2 questions
1
vote
1 answer

How to check the status of input method in NSTextInputClient?

From the docs, I can see that the input context will send one of the following methods to the text view. insertText:replacementRange: setMarkedText:selectedRange:replacementRange: doCommandBySelector: In my testcase, when enabled an input method,…
-1
votes
1 answer

iOS full texteditor implementation example

I want to implement a technical editor and it on macOS i use NSTextInput and Core Text to do all the text stuff myself. But i can't find the NSTextInput equivalent on iOS? Are there examples how to avoid using WebKit or TextKit?
Lothar
  • 12,537
  • 6
  • 72
  • 121