• 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: Opening a window in Core Data application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Opening a window in Core Data application (From: Wayne Pascoe <email@hidden>)
 >Re: Opening a window in Core Data application (From: Joshua Scott Emmons <email@hidden>)
 >Re: Opening a window in Core Data application (From: Wayne Pascoe <email@hidden>)

  • Prev by Date: Re: NSTextView insrting text
  • Next by Date: Re: Cocoa-dev Digest, Vol 3, Issue 406
  • Previous by thread: Re: Opening a window in Core Data application
  • Next by thread: NSView adjustScale: View is scaled but the image remains the same.
  • Index(es):
    • Date
    • Thread