iOS App crash

ctyhntr

macrumors 6502
Original poster
Jul 21, 2010
301
0
I'm working on a class project (iPhone application), and I'm trying to troubleshoot a crash.

I'm taking a randomly generated number (Integer) and re-formatting it as a NSString to send through my outlet to an UILabel field. It works twice, then crashes the app. Thoughts?

int randomIntergerA = 1+ arc4random() %(100);
statusTextA.text = [NSString stringWithFormat:mad:"%d",randomIntergerA];
 

ctyhntr

macrumors 6502
Original poster
Jul 21, 2010
301
0
Dejo,
Thank you for responding. I'm new to the mac world. Where would I find it in Xcode?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.