I have some UITextFields for entering currency amounts that display a number pad. In my textFieldDidEndEditing: method I apply a currency nsnumberformatter to the textField.text and update it to display as a currency value.
The problem I run into is that once I apply the currency formatter to the inputted number and update the text property, I can't call [textField.text floatValue] any more.
I've thought about using the "tag" property of the UITextFields to hold their "actual" value, but I'm wondering if there's a better way to do this.
Ideas?