Convert NSString to NSInteger?

If the string is a human readable representation of a number, you can do this:

NSInteger myInt = [myString intValue];

Leave a Comment