Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 40

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
04/19/13 06:49 AM (12 years ago)

Odd If Statement Error Expected ':'

Hi All, I was making my alert view plugin until I came across this error: Expected ':' Code: if([self.button1Exist isEqualToString:@"Yes"]) Any Ideas? Screenshot: http://jworldhosting.com/Uploads/Images/If-Statement_Error.png Jake
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
04/19/13 06:55 AM (12 years ago)
I figured it out: it was in side another statement. Jake
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/19/13 08:41 AM (12 years ago)
Lol yeah those nitpicky errors can drive you nuts! At least we have programs like Xcode to tell us where to look for the error. Imagine finding an error like that before sophisticated tools were around!
 

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.