chuki
Apple Fan
Profile
Posts: 119
Reg: Feb 21, 2012
princeton
1,290
07/25/12 06:52 AM (13 years ago)

Expected Expression problem

Hi, I've looked everywhere and can't seem to fix this. I am getting "! Expected Expression" for this line of code. My entire section of code is below that. leaderboardController.category = self.currentLeaderBoard;} //show scoreboard -(void)showScoreboard{ GKLeaderboardViewController *leaderboardController = [[GKLeaderboardViewController alloc] init]; if (leaderboardController != NULL) { leaderboardController.category = self.currentLeaderBoard;} leaderboardController.timeScope = GKLeaderboardTimeScopeWeek; leaderboardController.leaderboardDelegate = self; [self presentModalViewController: leaderboardController animated: YES]; }
 
chuki
Apple Fan
Profile
Posts: 119
Reg: Feb 21, 2012
princeton
1,290
like
07/25/12 07:09 AM (13 years ago)
I think I may know the problem. The .category in my xcode is black while the .category in the tutorial is purple. I tried deleting and retyping but my .category always remains black lol, trying to fix it...
 
chuki
Apple Fan
Profile
Posts: 119
Reg: Feb 21, 2012
princeton
1,290
like
07/25/12 07:20 AM (13 years ago)
YESYESYES I fixed it Thank You!!!!!!! Question though. Does a version 1.5 app using a quiz on xcode work on eclipse/android system? I read somewhere that quizzes in 1.5 only work for ios...
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
07/25/12 07:59 AM (13 years ago)
Quizzes now work for 2.0 as well.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
07/25/12 08:41 AM (13 years ago)
BTv1.5 quizes only works in iOS. For BTv1.5 Android use an html quiz. Better yet use BTv2.0 quiz plugin works with both iOS & Android. Fred
 
chuki
Apple Fan
Profile
Posts: 119
Reg: Feb 21, 2012
princeton
1,290
like
07/25/12 08:42 AM (13 years ago)
Yeah I'm not even bothering with android..way more complicated than ios & xcode lol
 

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.