advertisement

Article:
  Animating Graphics in Cocoa, Part 1
Subject:   NSTimer timer unneeded, speculation on losing balls
Date:   2002-01-13 15:47:29
From:   psheldon
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.

1 to 1 of 1
  1. it didn't bomb
    2002-01-13 22:33:09  psheldon [View]

1 to 1 of 1