Objective C – How to store NSMutableArray inside of NSMutableDictionary

NSMutableDictionary *mdictionary = [NSMutableDictionary dictionary];
NSMutableArray *marray = [NSMutableArray array];

[mdictionary setObject:marray forKey:@"key"];
[mdictionary removeObjectForKey:@"key"];

Leave a Comment