Hello everyone I am building an application that requires me to collect data from services like Last.fm and Pandora etc. I am grabbing xml data about each song, as well as small thumbnails for the album art. I want to store this data locally so I don't need to make another batch of requests each time my app is run. I originally thought about putting this data in the NSUserDefaults database, as that would probably be the easiest thing to do at the moment. Would there be any potential pitfalls to this approach? My thinking is that it may be the case that a lot of data would go into the database if every track were to have some data and an album photo associated with it. Are there performance implications for putting a ton of stuff in the UserDefaults db?
On the other hand, I may not want to have every piece of album art loaded into memory at once. It may be better to save album art in a folder somwhere. What is the accepted way to create a folder on the user's machine to support an application? If anybody could point me at a resource that explains how to install such directories on a users computer and how to unintall them when the user decides to remove the application would be most helpful. Thank you. PS: I'm aware of the album art folder in the iTunes directory, but I will require something a bit different for my purpose. -- Darren Minifie Graduate Studies: Computer Science www.myavalon.ca www.ohsnapmusic.com _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
