Re: The more I read about MVC, the more confused I get...
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.