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

Re: File's Owner, NSWindowController, KVO, bindings


  • Subject: Re: File's Owner, NSWindowController, KVO, bindings
  • From: mmalc crawford <email@hidden>
  • Date: Tue, 20 Feb 2007 14:07:13 -0800


On Feb 20, 2007, at 1:47 PM, Sean McBride wrote:

Do you plan on changing the document?
No, I don't think so.
Basically, "Document-Based Applications Overview" recommends using an
NSWindowController as File's Owner (to separate the controller layer
into view-controller and model-controller) and I wanted to go that way,
but I'm worried it will mess up the Core Data/bindings parts. The doc
appears to pre-date Core Data.
So it's ok to bind against a key path (document.managedObjectContext)
when part of the path is not KVO compliant (document)?


Provided that it's immutable, yes. In this case, you're just providing a path to get to the object in which you're interested.

mmalc

_______________________________________________

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


References: 
 >File's Owner, NSWindowController, KVO, bindings (From: "Sean McBride" <email@hidden>)
 >Re: File's Owner, NSWindowController, KVO, bindings (From: mmalc crawford <email@hidden>)
 >Re: File's Owner, NSWindowController, KVO, bindings (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: class variables
  • Next by Date: Re: When does -[NSWindow sendEvent:] beep?
  • Previous by thread: Re: File's Owner, NSWindowController, KVO, bindings
  • Next by thread: When does -[NSWindow sendEvent:] beep?
  • Index(es):
    • Date
    • Thread