I really hope someone can help with this because I am learning cocoa and ran into a road block.
I'm trying to simulate a simple poker tournament. At the moment, my entities are just a Tournament (with a number) and a Player (with a Name). The tournament has many players.
I can link two independent table views to display tournaments and players just fine. But I want the player table view to simply show the players who belong to the selected tournament from the first table view.
Each has its own array controller. I tried different options for binding to the second (players) table, but to no avail. Has anyone achieved this? If so, then maybe you could explain it to me, as I have some examples on the Internet.
- The update I can ALMOST get where I need it, mainly through the rial and errors and hours of searches on Google. I linked the player’s AC content to the tournament AC using the “selected objects” controller key and the “players” Path model key, which is the name of the array in my Tournament entity.
I linked the column in the form of a table of players with this second AC player, located using the keys of the object controller. But what to put in the key path of the model? I know this works because if I add @count there, I will get the correct number of players for the selected tournament. But 'name' and 'player.name' are not good. Can I try any "item.name" or "Players.item.name"?
Sooo close, thanks for the help so far: 