With a NSTextField
we can easially call setFormatter
if we want to say for instance create a custom formatter that only allows numbers (take this question for example).
But what if we want to apply a formatter to a NSTextView
? There does not seem to be a way to set a formatter, unless I am overlooking something.
Any suggestions on how to get around this?