Hey everyone,
I posted a thread on this the other day (
http://www.iphonedevsdk.com/forum/ip...ng-string.html).
This time I'm including a few pictures to help explain the issue I'm having. The app I am creating uses multiple views and multiple text fields that use a custom number pad with a view added for a decimal point.
If I input a number with a decimal point once it works great, but if I click to another view and then go back to that text field to edit it with a different number the decimal point is then added twice. (see gif files attached)
The part of the code in the view controller that adds the decimal is:
- (void)addDecimal:(NSNotification *)notification {
textField1.text = [textField1.text stringByAppendingString:@"."];
}
I can post the rest of the code in the view controller and appDelegate if anyone thinks it will help.
Does anyone have any ideas? Let me know if I can post something else to clarify the question. I really appreciate anyone's help!