• 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
Sliders and Timers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sliders and Timers


  • Subject: Sliders and Timers
  • From: "Frank D. Engel, Jr." <email@hidden>
  • Date: Sun, 23 Sep 2007 20:22:02 -0400

Okay, here is a question.


I have a cocoa app in which I have set up an NSTimer. That timer is configured to send a message periodically.


There are some sliders on a window in this application. If I start moving a slider, the timer is frozen until I release the mouse button.

Any way to get the timer pulse delivered while I move the slider?

I considered moving the timer into another thread (NSThread), but I'm not sure if that is the ideal solution or not?

The other thread should ideally be able to update other controls (not the sliders) while I am moving the slider.

Any "easy" way to do this in Cocoa?

(I'm fairly new to Cocoa, have been playing with it on and off for a time, but have been looking at it somewhat more seriously over the past few days and am quite pleased so far, but this one is a blocker for what I am trying to do...)


Thank you!



_________________________________________________________________
Need personalized email and website? Look no further. It's easy
with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
_______________________________________________

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: Sliders and Timers
      • From: "Adam R. Maxwell" <email@hidden>
    • Re: Sliders and Timers
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Console: *** -observeValueForKeyPath:... only defined for abstract class
  • Next by Date: GraphKit: Please file bugs to get at least a preview SDK.
  • Previous by thread: Re: Console: *** -observeValueForKeyPath:... only defined for abstract class
  • Next by thread: Re: Sliders and Timers
  • Index(es):
    • Date
    • Thread