Add record to NSDictionary
Add record to NSDictionary
- Subject: Add record to NSDictionary
- From: Jerry Brace <email@hidden>
- Date: Sun, 24 Jul 2005 20:31:05 -0230
I have a NSDictionary setup which gets filled with data from an
external xml file.
I am wondering now how I can add another record to the NSDictionary
after the initial fill
NSURL * iTunesDatabaseLocation = [NSURL fileURLWithPath:[@"~/Music/
iTunes/iTunes Music Library.xml" stringByExpandingTildeInPath]];
NSMutableDictionary * iTunesDatabase = [NSMutableDictionary
dictionaryWithContentsOfURL:iTunesDatabaseLocation];
In short - I need to add another record to the NSMutableDictionary
named "iTunesDatabase".
Any help would be great - I know I should know how to do this.
Cheers,
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden