Any of you knows how can set NSTextField to only accept numbers(int)?
Let me explain. I got my NSTextField:
@IBOutlet weak var txtBoxField: NSTextField!
But I can type any string and what I want is just to be able to type numbers.
I'll really appreciate your help.