Convert a string into an int
See the NSString Class Reference.
NSString *string = @"5";
int value = [string intValue];
How about
[@"7" intValue];
Additionally if you want an NSNumber
you could do
NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
[numberFormatter numberFromString:@"7"];