For nearly Months I’m trying to add a LengthFormatter to a NSTextField in Swift 5.2 and Xcode 11.7. Adding both of them in Interface Builder isn’t the Problem.
Thanks for Help,
Aeneon
When the App is running and I try to enter a custom Value ( e.g. 500 or something else ) in the TextField,I simply get a Tone from macOS, indicating, that the Value can’t entered. So my Question is how can I enter Numbers into the TextField, which will the LengthFormatter accept, format them and display them again in the TextField. If the Value of the will be changed with a NSStepper the LengthFormatter accepts the Value, but not entered from TextField directly.
Searched the Internet, but it seems no One is using this Combination.