NSMutableArray *array = [[NSMutableArray alloc] init];
NSInteger num = 7;
NSNumber *number = [NSNumber numberWithInt:num];
[array addObject:number];
NSLog(@"Array %@",array);
时间: 2025-01-01 09:01:46
NSMutableArray *array = [[NSMutableArray alloc] init];
NSInteger num = 7;
NSNumber *number = [NSNumber numberWithInt:num];
[array addObject:number];
NSLog(@"Array %@",array);