Let's say, for illustration, I was writing an iTunes clone app in Cocoa, that was backed by CoreData. For simplification's sake, let's say there are two "sections", "Library" with things like Music, Movies, Radio, etc. And a second section called "Playlists" which holds user-generated playlists (just dumb lists, not smart playlists).
So the SourceList itself would typically be implemented with NSOutlineView
, that's generally straightforward.
The Library section of the source list doesn't really house anything generated by the user, only "features" of the app (in essence) where the Playlists section only holds custom lists as created by the user. How would one do this with Bindings and CoreData? Is it possible just to bind the Playlists section to the user's data and have a custom way of displaying the Library features?
I'm still getting my feet wet with Bindings and AppKit in general, so please bear with me. I appreciate the help. I should add, I'm targeting 10.6 and above.