Re: Synchronized outlets and actions
Re: Synchronized outlets and actions
- Subject: Re: Synchronized outlets and actions
- From: Markus Hitter <email@hidden>
- Date: Sun, 8 Jan 2006 22:41:42 +0100
Am 05.01.2006 um 18:14 schrieb Dan Price:
--- Markus Hitter <email@hidden> wrote:
Implement an action method sending two (or more)
messages to the
objects you want to be updated. Typically a task for
the Controller.
This is not ideal - it means mainting outlets to every
control for one thing.
Adding features to attract lazy programmers might be worse.
Also, when you drag the slider,
it will update the text field AND itself again - a
circular reference.
Depends on how you update your stuff. In case you're in trouble:
if (sender != mySlider) {
[mySlider doUpdate];
} else if ( sender != ...
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden