CoreData, Two Nibs and Bindings
CoreData, Two Nibs and Bindings
- Subject: CoreData, Two Nibs and Bindings
- From: Matt Ronge <email@hidden>
- Date: Wed, 14 Dec 2005 03:29:00 -0600
I've got two nibs right now, one of them contains a preferences window
and the other contains the main application window. In my main window, I
have bindings connected to the ManagedObjectContext which populate the
main window with accounts.
In my preference window you can edit the accounts that exist, so I have
a seperate array controller in this nib. In my file owner I have a
managedobjectcontext which passes a copy of the managedobjectcontext
from the main nib controller. I've hooked up my account controller in
the preferences nib to the managedobjectcontext in the file owner.
However, the two don't array controllers don't seem to be in sync even
though they are attached to the same managedobjectcontext.
If I add something in the preferences window, it won't show up in the
main window. Weirder yet, when the main window shows nothing, the
preference window has a row with blank content.
Any thoughts on what I'm doing wrong?
Thanks,
--
Matt Ronge
www.theronge.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden