Search Results for formatter
provides a custom NSFormatter for values representing a time in seconds with precision 1milli second. Format: [-]<hh>:<mm>:<ss>.<millis> Examples: 03:04:17.183 -01:20:59.444 Used in a text field, a value can be inserted in the format of seconds or in the above colon format.
This will format a text field similar to how an ATM works. This allows easy entry of dollar amounts. If on an iPhone it can even add a positive/negative toggle button to the keypad. If on an ipad it will only allow numbers to be entered and if a user taps the minus symbol it will act as the toggle. Also it includes a helper class method to return a NSDecimalNumber of what is in the textField. Enjoy!