Re: Argh never-ending troubles with bindings
Re: Argh never-ending troubles with bindings
- Subject: Re: Argh never-ending troubles with bindings
- From: Rick Mann <email@hidden>
- Date: Wed, 08 Feb 2017 16:58:36 -0800
> On Feb 8, 2017, at 16:50 , Quincey Morris <email@hidden> wrote:
>
> On Feb 8, 2017, at 15:44 , Rick Mann <email@hidden> wrote:
>>
>> I bind an Array Controller in the View Controller scene to ViewController.self.representedObject.managedObjectContext.
>
> Using what binding key?
self.representedObject.managedObjectContext
I wrote it as it was above to indicate that I bound to the View Controller's key "self.representedObject.managedObjectContext". I didn't mean to imply I wrote "ViewController" in the key path field.
>
>> Note that I've also tried setting the Array Controller's content binding to gobbledegook
>
> Instead of the above binding? That’s not the right key for the MOC.
>
> However, what makes you think this is a bindings problem? It’s not obvious that there’s anything wrong except that the MOC doesn’t exist [yet].
>
The MOC does exist. I've verified that it exists at the time my Document's init() method is called.
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden