in this Code I am assigning values to the MyData. this is a NSArray variable.
Code:
NSMutableArray *MyArray=[NSMutableArray array]; [MyArray addObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:314564454],@"Population", @"Mumbai",@"Name", [NSNumber numberWithInt:415452],@"Area",nil]];
Leave a comment: