• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Additional action when a view's value changes (Cocoa Bindings)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Additional action when a view's value changes (Cocoa Bindings)
      • From: mmalc Crawford <email@hidden>
    • Re: Additional action when a view's value changes (Cocoa Bindings)
      • From: Quincey Morris <email@hidden>
References: 
 >Additional action when a view's value changes (Cocoa Bindings) (From: Christian Ziegler <email@hidden>)

  • Prev by Date: Additional action when a view's value changes (Cocoa Bindings)
  • Next by Date: Re: Big memory/time consumption in NSTreeController KVO GC
  • Previous by thread: Additional action when a view's value changes (Cocoa Bindings)
  • Next by thread: Re: Additional action when a view's value changes (Cocoa Bindings)
  • Index(es):
    • Date
    • Thread