• 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
Re: Itunes structure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Itunes structure


  • Subject: Re: Itunes structure
  • From: "Mathieu Godart" <email@hidden>
  • Date: Mon, 5 Apr 2004 19:01:37 +0200

For one of my project, I need to load the full iTunes lib. I do this simply
by creating a NSDictionary from a file. This file is
[...]/Music/iTunes/iTunes Music Library.xml.

After that, I convert this NSDictionary into a NSArray of Dictionary. When I
do a lot of computing on that, it's really fast. I do the same kind of
operation iTunes does (displaying the +5000 entries of the lib, sorting it,
calculating new values...). I don't use a database, I don't know if Apple
did, but just an NSArray + NSDictionnary or just an NSDictionnary is fast
enough.

Mathieu Godart
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Itunes structure
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: Icon and Text in NSTableView
  • Next by Date: Re: Icon and Text in NSTableView
  • Previous by thread: Re: Itunes structure
  • Next by thread: Re: Itunes structure
  • Index(es):
    • Date
    • Thread