• 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: The more I read about MVC, the more confused I get...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The more I read about MVC, the more confused I get...


  • Subject: Re: The more I read about MVC, the more confused I get...
  • From: Koen van der Drift <email@hidden>
  • Date: Fri, 13 Jun 2003 23:12:46 -0400

Thanks everyone for replying - it helped me a lot.

There is still one issue confusing me. The main window has several
popupmenus that control the calculations in the model. What happens when
the user adjusts one of the popup-menus? First, the windowcontroller gets a
message, but then? Should I post a notification that the model is
responding to, or should I send a direct message to the modelcontroller,
which then in turn sends a message to the model? I don't see another way
that the model can get the correct settings for the calculations.

However, this will add a lot of extra 'responsibilities' to the
modelcontroller, which actually is an NSDocument. Or is that how it's
supposed to be?

Some sample code similar to Sketch.app, but with more controls in the main
window would probably help me alot. Is there any such thing available
somewhere?

(Maybe I should forget about the modelcontroller and viewcontroller, and
just use one big controller for the mainwindow...)


- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • subclass weirdness
      • From: Koen van der Drift <email@hidden>
References: 
 >Re: The more I read about MVC, the more confused I get... (From: Jim Rankin <email@hidden>)

  • Prev by Date: Re: Some more questions on OCUnit.
  • Next by Date: On more newbie question about init...
  • Previous by thread: Re: The more I read about MVC, the more confused I get...
  • Next by thread: subclass weirdness
  • Index(es):
    • Date
    • Thread