• 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
File's Owner, NSWindowController, KVO, bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File's Owner, NSWindowController, KVO, bindings


  • Subject: File's Owner, NSWindowController, KVO, bindings
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 20 Feb 2007 14:06:23 -0500
  • Organization: Rogue Research

Hi all,

I have a nib.  Currently my NSDocument subclass is the File's Owner.  I
have an NSArrayController in the nib who's 'managedObjectContext'
binding is bound to File Owner's 'managedObjectContext'.  All is well.

If I change the File's Owner to be my NSWindowController subclass, can I
bind the arraycontroller to 'document.managedObjectContext'?  To do so,
NSWindowController's 'document' would need to be KVO compliant, right?

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: File's Owner, NSWindowController, KVO, bindings
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Setting table selection at document open with Core Data?
  • Next by Date: Re: Setting table selection at document open with Core Data?
  • Previous by thread: Re: Setting table selection at document open with Core Data?
  • Next by thread: Re: File's Owner, NSWindowController, KVO, bindings
  • Index(es):
    • Date
    • Thread