Re: Opening a window in Core Data application
Re: Opening a window in Core Data application
- Subject: Re: Opening a window in Core Data application
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 30 Mar 2006 14:08:32 -0800
On Mar 30, 2006, at 12:41 PM, Wayne Pascoe wrote:
That's been pointed out to me - I don't think I understand the MVC
pattern (or design patterns for that matter :(), but I'm starting
to understand that my data model shouldn't know anything about the
windows or views that manage it. Is that roughly right ?
Yes.
See in particular <http://developer.apple.com/documentation/Cocoa/
Conceptual/CocoaFundamentals/CocoaDesignPatterns/
chapter_5_section_4.html> for a broad outline, and <http://
developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/
CocoaDesignPatterns/chapter_5_section_3.html#//apple_ref/doc/uid/
TP40002974-CH6-SW28> for a description of the mediator pattern that
explains how subclasses of NSController fit into an extension of the
basic pattern (akin to the role of NSWindowController).
This point is made more explicit in a forthcoming version of the
NSPersistentDocument tutorial...
can you point me at some documentation / code that discusses
accessing array controllers from your main controller
(Alexandria_AppDelegate in my case?)
<http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/05_CopyAndPaste/
chapter_6_section_3.html#//apple_ref/doc/uid/TP40002833-
DontLinkElementID_38>
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden