Part of the program I'm developing stores user-entered phone numbers, so I'd like to format them as they are entered. I've got the NSFormatter working when text is displayed in the cell from stored data, but I don't know how to format a phone number as it's being entered on the keyboard, as in Apple's contacts app.
How can I accomplish this?
Checking online status from an iPhone web app
1:How to create a GUID/UUID using the iPhone SDK
UITextFieldDelegateprotocol and put your formatting code in the
textField:shouldChangeCharactersInRange:replacementString:method.. Accessing image data from a bitmap given a pointer