Twelve Gage
I hate code!
Profile
Posts: 2
Reg: Aug 16, 2012
Tucson
3,720
09/23/12 08:47 PM (13 years ago)

Debugger Data Argument question

So forgive me if this is really basic. I am working on my first app and I do not know much on about coding. However, I only have one error left to fix in Xcode and it is: }else{ [BT_debugger showIt:self:[NSString stringWithFormat:@"This app does not use a splash screen", @""]]; } }/* debugger keeps highlighting the "This app does not use a splash screen" and says "Data Argument not used by formatting string" I have tried using another @ symbol but it keeps turninging the @ symbol black and does not fix the problem. Any help would be great!!! Thanks
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/23/12 09:03 PM (13 years ago)
Yup, not sure what version of BT you're using but v1.4 and v1.5 are showing these messages when compiled with the latest version of Xcode. 2.0 should not show them. In either case, they are easy fixed. You may seem more than one of them but the fix is the same... [BT_debugger showIt:self:[NSString stringWithFormat:@"This app does not use a splash screen", @""]]; becomes [BT_debugger showIt:self:[NSString stringWithFormat:@"This app does not use a splash screen %@", @""]]; The only difference is the addition of the %@ characters after the word "screen" Add those, Clean > Build. If you see more warnings like them, apply the same fix.
 
Twelve Gage
I hate code!
Profile
Posts: 2
Reg: Aug 16, 2012
Tucson
3,720
like
09/23/12 09:28 PM (13 years ago)
Thanks David!!! I was placing the %@ after the "," . Thank you very much. Your site has been great. I feel like I've learned a lot! But still feel like I know nothing. Anyway, thanks again.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/23/12 09:32 PM (13 years ago)
No worries, we're ALL learning. Really, no such thing as anyone that knows all this stuff. Thanks for the kind words and stick with it, it does get easier :-)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.