Re: Additional action when a view's value changes (Cocoa Bindings)
Re: Additional action when a view's value changes (Cocoa Bindings)
- Subject: Re: Additional action when a view's value changes (Cocoa Bindings)
- From: Christian Ziegler <email@hidden>
- Date: Wed, 09 Dec 2009 14:47:38 +0100
Sorry I got to correct myself, it's not Cocoa Bindings, but direct target/action. So I connected the takeIntegerValue action of both views to each other in contrast to connecting it to a controller.
On 09.12.2009, at 14:26, Christian Ziegler wrote:
> Hi all!
>
> I got a NSTextView and an NSStepper binded together, so that the textfield's and the stepper's values are in sync. This is very confinient, however I need additional things to be done whenever the value changes (basically just a method invocation). So far I've accomplished that by not using bindings but target/action instead, still I am wondering whether there is a way to do that via bindings (overriding a certain method?!)
>
> Can anybody help me out on this?
>
> Cheers,
> Chris
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden