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

View Single Post
Old 01-31-2010, 02:58 AM   #2 (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

You'll get an error if either of the strings you're concatenating get autoreleased before you use them. I'd NSLog moveString and the other string (if it's not really a constant) right before you use them in that line.

I can see that if isActiveCell==YES then moveString won't get assigned a value by this code. If the string it points to isn't valid any more. it'll crash.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 270
17 members and 253 guests
ADY, ckgni, IphoneSdk, iph_s, jakerocheleau, karunaskj, MarkC, michelle, peterkessler45, rob.mccarthy, rodrigozanatta, Speed, TheWebWizz, V_SC&, Xaron, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,218
Posts: 380,695
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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