Hello, I am very much a Cocoa newbie/idiot and I'm trying to build a simple Core Data application. I have followed the tutorial at
http://www.cocoadevcentral.com/articles/000085.php and it was great - I now have a similar app up and running and I love it. But I want a little more functionality and here's where I'm running into problems, even after many hours of trial & error spent in search of a solution.
So I have two entities, Fish and Aquarium. (Fish <<--> Aquarium in the xcdatamodel) In Interface Builder, I have FOUR tableviews:
Table 1 lists the names of all fish. (Bound to Fish NSArrayController in IB)
Table 3 lists the labels of all aquariums. (Bound to Aquariums NSArrayController in IB).
The hard part is Tables 2 and 4. Table 2 should have NSButtonCells (checkboxes) in the left column and a list of all aquariums in the right column - which checkboxes are checked should depend on the selection of fish in Table 1. Likewise, Table 4 should be setup the same way, but relating to Table 3, and the checkboxes should be radio buttons instead (to properly reflect the one-to-many relationship between aquariums and fish).
I think a picture is worth a thousand words here:
I really need a solution to this, preferably using as little code as possible - none if at all possible. It should be a simple matter of bindings in IB, should it not? In any case, I'm so frustrated that I'll send the first person who successfully walks me though this $20 via Paypal.