objc:
NSMutableArray *array = [[NSMutableArray alloc] init];
NSInteger num = 7;
NSNumber *number = [NSNumber numberWithInt:num];
[ar addObject:number];
NSLog(@"Array %@",array);
https://stackoverflow.com/questions/8600841/adding-nsinteger-object-to-nsmutablearray