I want to convert string data to NSInteger.
string
data
NSInteger
If the string is a human readable representation of a number, you can do this:
NSInteger myInt = [myString intValue];
548k questions
547k answers
4 comments
86.3k users