I need my NSTextFields be able to evaluate formulas...
24/07/03 18:55
It would be very nice for my customers to enter math formulas in text fields, how to achieve this in Cocoa ? |
There are several solutions: - NSTextField are validated and formated by NSFormater objects: to make your NSTextField accept math formulas, you may write a NSFormater subclass that will evaluate the formula and returns the value as the object value. - NSTextField calls its delegate's method |