| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On May 30, 2005, at Mon, May 30, 10:57 10 PM, Andy Lee wrote:
One solution would be to have more abstract methods in the Model class - for example -shortString -longString. Then each view's Controller class would call -short/longString as needed. Another would be a hybrid approach: "Hybrid Models: MVC, strictly observed, is not advisable in all circumstances. Sometimes it’s best to combine roles. For instance, in a graphics-intensive application, such as an arcade game, you might have several View objects that merge the roles of View and Model. In some applications, especially simple ones, you can combine the roles of Controller and Model; these objects join the special data structures and logic of Model objects with the Controller’s hooks to the interface." So you might keep your hypothetical -stringToDisplay… methods in a hybrid Model-Controller class. regards, Ralph |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: Why is it like this? (From: Gregory Weston <email@hidden>) | |
| >Re: Why is it like this? (From: Thomas Davie <email@hidden>) | |
| >Re: Why is it like this? (From: Gregory Weston <email@hidden>) | |
| >Re: Why is it like this? (From: Thomas Davie <email@hidden>) | |
| >Re: Why is it like this? (From: Aaron Fothergill <email@hidden>) | |
| >Re: Why is it like this? (From: Andy Lee <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.