Re: Itunes structure
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.