• 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: Mon, 24 Nov 2008 19:30:46 -0600

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?

-- Mike
_______________________________________________

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: Re: Call getElementById in Cocoa
  • Next by Date: Re: Call getElementById in Cocoa
  • Previous by thread: Re: MVC in Cocoa?
  • Next by thread: Re: MVC in Cocoa?
  • Index(es):
    • Date
    • Thread