如 NSNumber *someNum = [NSNumber numberWithInt:1];
等價于字面數(shù)值 NSNumber *someNum = @1;
? 一個數(shù)組NSArray *animals = [NSArray arrayWithObjects:@"cat",@"dog",@"frog",nil];
字面量NSArray *animals = @[@"cat",@"dog",@"frog"];
取下標舉個例子 animals[i]? 復雜的是[animals objectAtIndex:1];