Guest User

Untitled

a guest
Jul 20th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. quizArrayAnswers=[[NSMutableArray alloc] initWithObjects:
  2. [NSMutableArray arrayWithObjects: @"blue", @"Red", @"Green",@"Yellow", nil],
  3. [NSMutableArray arrayWithObjects: @"fred", @"jim", @"spud",@"tom", nil],
  4. [NSMutableArray arrayWithObjects: @"albert", @"jim", @"spud",@"tom", nil],
  5. //[NSMutableArray arrayWithObjects: @"emergency btn", @"fire alarm", @"doorbell",@"danger", nil],
  6. [NSMutableArray arrayWithObjects: @"dog", @"rabbit", @"bird",@"flea", nil],nil];
  7.  
  8. cell.textLabel.text = [quizArrayQuestions objectAtIndex:[indexPath row]];
  9.  
  10. (
  11. albert,
  12. jim,
  13. spud,
  14. tom
  15. )
  16.  
  17. NSArray *questions = [quizArrayQuestions objectAtIndex:[indexPath row]];
  18. cell.textLabel.text = [questions objectAtIndex:indexOfQuestionText];
  19.  
  20. cell.textLabel.text = [[quizArrayQuestions objectAtIndex:0] objectAtIndex:[indexPath row]];
  21.  
  22. cell.textLabel.text = [[quizArrayQuestions objectAtIndex:[indexPath section]] objectAtIndex:[indexPath row]];
  23.  
  24. cell.textLabel.text = [[quizArrayQuestions objectAtIndex:[indexPath row]] objectAtIndex: 0];
Add Comment
Please, Sign In to add comment