Quote:
Originally Posted by smasher
If you comment out [myTicker invalidate], does it still crash? That will let you know whether to continue down the myTicker path looking for errors, or go back an examine something else.
From the code you posted I can see that if the objects collide and then later you call the stop method, you wind up invalidating the timer a second time. That doesn't sound like your current problem, but still, that's why you should set the timer to nil after invalidating it.
|
Sorry I didn't answer your question in the first post but, yes if I comment out [myTicker invalidate]; when the objects collide it does work but the alert just keeps coming up.
Thanks
-Oblivian Studios