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

NSTimer and NSTableView


  • Subject: NSTimer and NSTableView
  • From: Oscar Bascara <email@hidden>
  • Date: Mon, 16 Jul 2001 21:31:13 -0700

I'm running an animation in NSView with the frames triggered by NSTimer. It works pretty well except the animation freezes when certain parts of the user interface are handled, for example when the mouse is held down in NSTableView (if only for an instance). How can I get the animation to run seamlessly?

Is it possible to set NSTableView to respond at periodic fixed intervals when the mouse is down like NSButton can?

Or, can NSTableView be subclassed with something like mouseDown: overriden (with a mini animation event loop until the mouse is up)?

Or, is there a more suitable periodic timing device other than NSTimer? Can I maybe setup a concurrent thread for the animation?

Any help would be greatly appreciated!

(By the way, the animation is for juggling patterns that transition when a pattern is selected from a single column NSTableView.)

Oscar


  • Follow-Ups:
    • Re: NSTimer and NSTableView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: NSURL and login/passwords
  • Next by Date: Re: Collection of Cocoa & objc questions from a "newbie"
  • Previous by thread: NSURL and login/passwords
  • Next by thread: Re: NSTimer and NSTableView
  • Index(es):
    • Date
    • Thread