I got that bit working but now I'm having more problems. In the cellForRowAtIndexPath method I currently have:
Code:
MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate];
Races *r =(Races *)[appDelegate.racesArray objectAtIndex:indexPath.row];
[cell setText:r.name];
Now that I have multiple arrays to populate each section however I can't get it to work. I tried using the switch statement like before but of course the (section) part does note work because it is not declared in this method.
Any ideas?