Hey all,
I'm trying to wrap my mind around NSArrayController and using bindings with them. Im working on a test app that basically mimics iTunes' browser. I chose this because it would be easier to communicate to you all what Im trying to do as well as a simplest test case.
The interface is like this: 3 single column tables up top, genre, artist, album. Underneath is a table with 3 columns. The 3 columns are genre, artist and album. Data for the app is managed via core data. I have plus and minus buttons to add/remove items to the lower table.
Im trying to get the 3 tables up top to act like iTunes in that, if i select a genre, only those artists that match the selected genre are listed in the next table, the artist table. Then if an artist is selected, only those albums that match the artist are listed in the album table. The end result of course would be that only those items in the core data store, that match the users selection of genre, artist and album would be visible in the lower table.
Where Im at currently is that I can add/remove items in the lower table. I have an NSArrayController that manages all the items as well as NSArrayControllers for each of the tables up top representing genre, artist and album.
Im guessing that most, if not all of this functionality can be achieved directly in IB and its bindings inspector but I don't know how to configure it. I think i working version of this interface metaphor would be great for others to use in lots of different apps. Like managing collections of DVD's recopies, stamps, coins, books whatever. You get the idea.
Anyway, I could use the mighty weight of knowledge and skillz this forum possesses to get i simple test case working. Thank you for your attention.