• 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: responding to NSStepper clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: responding to NSStepper clicks


  • Subject: Re: responding to NSStepper clicks
  • From: Koen van der Drift <email@hidden>
  • Date: Fri, 16 Dec 2011 10:46:20 -0500

Thanks Mike, I'll look at that as well. I am indeed using that binding.

- Koen.

On Fri, Dec 16, 2011 at 10:40 AM, Mike Abdullah
<email@hidden> wrote:
> Your text field is is bound to the model/a controller right? If so, you want the "updates immediately" binding option.
>
> On 16 Dec 2011, at 12:59, Koen van der Drift wrote:
>
>> On Thu, Dec 15, 2011 at 10:50 AM, Koen van der Drift
>> <email@hidden> wrote:
>>> On Thu, Dec 15, 2011 at 10:17 AM, Mike Abdullah
>>> <email@hidden> wrote:
>>>
>>>> NSStepper is a subclass of NSControl. Hook up its action/target to be notified when it's adjusted.
>>>
>>> I'll try that, thanks.  Using bindings sometimes makes you forget that
>>> there is still some cdong needed :)
>>>
>>> - Koen.
>>
>> (with cdong, I meant coding :)
>>
>> Adding an IBAction did the trick indeed. One aditional question, how
>> do I make the textfield immediately send the updated value to
>> controlTextDidChange without the need of htting enter of tabbing out
>> of the field? See eg the Date/Time preference panel.
>>
>> - Koen.
>
_______________________________________________

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

References: 
 >responding to NSStepper clicks (From: Koen van der Drift <email@hidden>)
 >Re: responding to NSStepper clicks (From: Mike Abdullah <email@hidden>)
 >Re: responding to NSStepper clicks (From: Koen van der Drift <email@hidden>)
 >Re: responding to NSStepper clicks (From: Koen van der Drift <email@hidden>)
 >Re: responding to NSStepper clicks (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: responding to NSStepper clicks
  • Next by Date: Re: Updating an app's help
  • Previous by thread: Re: responding to NSStepper clicks
  • Next by thread: Re: responding to NSStepper clicks
  • Index(es):
    • Date
    • Thread