||Animating Graphics in Cocoa, Part 1|
|Subject:||NSTimer timer unneeded, speculation on losing balls|
Response to: (Q) NSTimer timer unneeded
NSThread said that communication, careful communication, between threads was possible. Right now, StepAnimation takes an argument of nil. What if I made timer, not a local method variable, but rather an instance variable of NSView? And what if I had StepAnimation take it as an argument?
I have to go dancing now, but maybe someone out there would try this (dangerous?) interthread communication. I think, with protected memory, I shall try it later tonight somewhat fearlessly.
it didn't bomb
2002-01-13 22:33:09 psheldon [View]