Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Collision Error
View Single Post
Old 03-10-2010, 06:35 PM   #5 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

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.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 833
24 members and 809 guests
ADY, AndreaT, AragornSG, Creativ, Desert Diva, Donovan472, dreamer11, elhanche, hermi7jami, higgey, ilmman, iphone.savvy, iph_s, jimbo, meandroz, moriko, sialcasa, supasounds, TamsiE, Tanya Mir, TTStu, VikMyr, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,863
Threads: 89,223
Posts: 380,687
Top Poster: BrianSlick (7,129)
Welcome to our newest member, hermi7jami
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:47 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.