• 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: MVC in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MVC in Cocoa?


  • Subject: Re: MVC in Cocoa?
  • From: "Michael Hines" <email@hidden>
  • Date: Sun, 23 Nov 2008 18:10:59 -0600

On Nov 21, 2008, at 10:26 AM, Sherm Pendley <email@hidden> wrote:
>
> Have you read the MVC introduction from Apple?
>
>   <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaDesignPatterns/chapter_5_section_4.html>
>
> sherm--
>

So I read the MVC introduction and a bunch of the other design
patterns documents, this is how I see the models working:  Some kind
of static connection class that models add observers to.  When views
load the controller creates a model and maybe add it's own observer to
the model to update the view.

I have two problems then. The static connection class seems hackish.
I'm not sure if it's even possible in ObjC. Is there a better option?

Is the "observer" option the way to go?  What class documentation
should I look at for that?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >MVC in Cocoa? (From: "Michael Hines" <email@hidden>)
 >Re: MVC in Cocoa? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Need some advice on multithreading
  • Next by Date: Re: NSTableView Problems
  • Previous by thread: Re: MVC in Cocoa?
  • Next by thread: Re: MVC in Cocoa?
  • Index(es):
    • Date
    • Thread