trying to make an iPhone app and going through the tutorials and books recommended by those before me 🙂 I’m trying to find information on the scanf/storing user input data from a text field into a variable which I can use later in my program. The text field is actually a number field, so I am trying to save the integers they input and not the text since there won’t be any in my case. Am I on the wrong path here? Any help would be greatly appreciated.
trying to make an iPhone app and going through the tutorials and books recommended
Share
You want NSNumberFormatter. The data formatters ( Apple Guide) handle conversions to and from strings as well as formatting for output.