Re: File's Owner, NSWindowController, KVO, bindings
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