I mean it
Code is Art
Profile
Posts: 66
Reg: Feb 20, 2012
London
1,060
03/22/12 04:07 PM (13 years ago)

Parse issue in BT_screen_quiz.m

Dear All, I get an expected expression error in the self.currentLeaderBoard line (see below) Any ideas? Regards, Dan //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]; } } //show quiz reward screen
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/23/12 05:33 AM (13 years ago)
I had the same issue. I think it's where you copy and paste. What I did was....click at the beginning of the second leaderboardController and then press delete all the way back to the ; Then press enter to send it to a new line Repeat that for each line and it seemed to correct the code Worked for me
 
I mean it
Code is Art
Profile
Posts: 66
Reg: Feb 20, 2012
London
1,060
like
03/23/12 11:57 AM (13 years ago)
Hey Bonzo, Thanks for your help - it worked!!!! Yay!! Must have spent hours on it yesterday.... Best wishes, Dan
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/23/12 12:52 PM (13 years ago)
Cool, glad to hear it. The code is perfect for some reason the copy and paste doesn't always work well
 

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.