NSTimer and NSTableView
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