PDA

View Full Version : Can't get head around binding this




CMT
Nov 15, 2010, 11:36 AM
I'm creating a simple Mail-like app, just to practice CoreData and Bindings. Here is an overview:

1.The data model
It's quite simple, the picture speaks by itself:
260370

2.The interface
260371

Now, what I've already done:
1.Created 2 NSArrayController's
'Mailboxes' and 'Emails'.
260372

2.Bind their contexts
Both are bind to AppDelegate managedObjectContext

3.Bind mailboxes table column
to Mailboxes (array controller) arrangedObjects.name

Now the question: How to bind the other table view's columns?

Binding to the Emails array controller does not make much sense to me, since I have to bind to the selection of the mailboxes table somehow. Any tips are really appreciated!

Thanks in advance.