• 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
iTunes/iPhoto like Database using CoreData?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: CAShapeLayer for Drawing Lines; Animations Skewed
  • Next by Date: Printing with Snow Leopard
  • Previous by thread: Re: CAShapeLayer for Drawing Lines; Animations Skewed
  • Next by thread: Printing with Snow Leopard
  • Index(es):
    • Date
    • Thread