Re: Core Data and multiple NIBs: how to share the managedObjectContext?
Re: Core Data and multiple NIBs: how to share the managedObjectContext?
- Subject: Re: Core Data and multiple NIBs: how to share the managedObjectContext?
- From: zeno <email@hidden>
- Date: Sun, 14 Aug 2005 15:41:32 +0200
Sorry! I feel dumb!
I was completely forgetting the key value coding fundamentals and the
fact that I can actually put dot-separated object properties in the
Model Key Path field....
Of course, by forgetting this basic principle, I couldn't pretend to
know how to communicate amongst nibs using bindings...
Now everything becomes much easier and of course the problem has
nothing to do with CoreData and "sharing the managedObjectContext
between nibs" as I was mentioning in the subject of the original
message.
I removed the useless "Items" instance in Details.nib and simply bound
the textfield to "File's Owner (MainController)" with a ModelKeyPath =
"feedsArrController.selection.title"
(feedsArrController being an outlet of MainController connected to the
"Items" array controller in MenuMenu.nib)
_______________________________________________
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