Re: Question on Cocoa concepts
Re: Question on Cocoa concepts
- Subject: Re: Question on Cocoa concepts
- From: Ondra Cada <email@hidden>
- Date: Fri, 9 Aug 2002 17:54:04 +0200
On Friday, August 9, 2002, at 04:18 , Lorenzo Thurman wrote:
... I see some use a controller that manages the apps outlet/action
behavior while others go without a controller and simply wire interface
components directly together. It would seem, leaving out issues of
complexity, that if components don't have the desired behavior, then a
controller is used and the action behavior is defined there. If the
components already have the necessary behavior, then wiring them directly
together is OK. Does this make sense?
It does.
If so, then I've also seen some examples where the use of a controller is
superfluous, which is the source of my confusion since none of the books
explicitly state "I'm using a controller because..."
"... I overlooked it can be done directly", or perhaps "... I knew I'll
have to upgrade the app soon adding more functionality to this place (and
forgot to say it in the book)" or perhaps even "... I am used to wire
anything through a controller myself without even considering the direct
wiring" or finally "... I wanted to teach you how a controller works and I'
ve been lazy to select an example which does need it".
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.