• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Add record to NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Add record to NSDictionary
      • From: Charilaos Skiadas <email@hidden>
  • Prev by Date: Re: Problem with japanese systems
  • Next by Date: Unable to set up Apple's PDFKitLinker2 example code: project can't "find" PDFKit.framework
  • Previous by thread: Re: Which Frameworks? /Developer/SDK 10.4/System/Library/Frameworks vs System/Library/Frameworks
  • Next by thread: Re: Add record to NSDictionary
  • Index(es):
    • Date
    • Thread