Quote:
Originally Posted by dapis
|
I now tried it but it wont work.
I want it to take lets say 10 questions out of the NSarray where there are 50 questions and then remove them so they not are going to be displayed again before the other 40 have been taking. My NSarray should look like this:
-(void)loadQuiz { NSArray *quizArray = [[NSArray alloc] initWithObjects:
@"How much was David Beckham's deal worth upon signing for LA Galaxy?", @"$250m", @"$32.5m", @"$75m", @"$502m", @"3",
@"In which year did David beckham sign for LA Galaxy?", @"2006", @"2007", @"2008", @"2009", @"2",
@"In 2008, Rice-Eccles Stadium housed which MLS team for their home games?", @"Toronto FC", @"Real Salt Lake", @"Colorado Rapids", @"Houstion Dynamo", @"2",
@"Which of these teams, won the first MLS Cup?", @"Chicago Fire", @"Colorado Rapids", @"DC United", @"LA Galaxy", @"3",
@"Wich of these players have the record for most goals in a game?", @"Mamadou Diallo", @"Marco Etcheverry", @"Cobi Jones", @"Clint Mathis", @"4", nil];
self.theQuiz = quizArray;
[quizArray release]; }