> On 29 Dec 2015, at 17:54, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Dec 29, 2015, at 01:45 , Roland King <r...@rols.org > <mailto:r...@rols.org>> wrote: >> >> the slider is hooked up via bindings in the UI to a label which shows the >> value *as you slide it*, so it needs to be continuous for that purpose. Then >> when you let go, only then do I want the final value to be delivered to the >> app > > Yeah, I realized a minute later that you wanted *both* behaviors. > > The other way you can approach something like this (though what you did is > more direct in this case) is to start a timer. The timer won’t actually run > in event loop tracking mode, so you can use time expiry as an indication that > the tracking is done. Something like that. > >
That’s really sneaky - I love it. I’m pleased there was a more direct way of attacking it in the end however, I may not have slept well for a week after using a timer for that, but it’s great idea. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com