iTunes/iPhoto like Database using CoreData?
iTunes/iPhoto like Database using CoreData?
- Subject: iTunes/iPhoto like Database using CoreData?
- From: Peter Zegelin <email@hidden>
- Date: Fri, 11 Sep 2009 15:01:24 +1000
Hi,
My carbon application has an iTunes like database to store MIDI files.
It uses SQLlite as the database. I am thinking that I might converts
the whole thing to CoreData when I rewrite the app in Cocoa so I was
wondering if there are any examples that would be a suitable starting
point for something like this.
What I currently have is a database with 3 main tables:
LibraryItems stores info about each MIDI file such as name, file
alias, date added, date modified, number of tracks in the file, play
count etc.
Playlists stores info about each playlist (but not items in the
playlist) such as name, its parent in the sourcelist, horizontal and
vertical scroll positions, column types and widths (as comma delimited
strings)
CatItems uses the uniqueID of each LibraryItem and Playlist to keep a
list of what MIDI files are in each Playlist and their position in
that Playlist.
I have looked around a bit but not seen anything that looks like it
would fit the bill but that may be due to my lack of familiarity with
the terminology, so any pointers would be much appreciated!
Thanks!
Peter
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden