Separate names with a comma.
Discussion in 'iOS Programming' started by Duke Leto, Jan 28, 2009.
How is it possible to get a number value from a string that the user inputted?
What do you want to do with that number? I can think of a few ways to grab that value, but they are specific to different situations.
Do a calculation and set a UISlider's value to that number.
Are the inputting the number via a textfield?
You can just use
to grab the numeral value of the field. No need to pass it to a string.
Awesome! Thank you for the help! I as looking at the docs for NSNumberFormatter .. .
No problem man.