• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Argh never-ending troubles with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Argh never-ending troubles with bindings
      • From: Quincey Morris <email@hidden>
References: 
 >Argh never-ending troubles with bindings (From: Rick Mann <email@hidden>)
 >Re: Argh never-ending troubles with bindings (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Argh never-ending troubles with bindings
  • Next by Date: Re: Argh never-ending troubles with bindings
  • Previous by thread: Re: Argh never-ending troubles with bindings
  • Next by thread: Re: Argh never-ending troubles with bindings
  • Index(es):
    • Date
    • Thread