1#import <Foundation/Foundation.h> 2 3int main() 4{ 5 @autoreleasepool 6 { 7 // NSArrays 8 NSArray *immutable_array = @[ @"foo", @"bar" ]; 9 NSMutableArray *mutable_array = [NSMutableArray arrayWithCapacity:2]; 10 [mutable_array addObjectsFromArray:immutable_array]; 11 12 // NSDictionaries 13 NSDictionary *immutable_dictionary = @{ @"key" : @"value" }; 14 NSMutableDictionary *mutable_dictionary = [NSMutableDictionary dictionaryWithCapacity:1]; 15 [mutable_dictionary addEntriesFromDictionary:immutable_dictionary]; 16 17 NSNumber *one = @1; 18 19 NSLog(@"Stop here"); // Set breakpoint 0 here. 20 } 21} 22