Im making a iPhone app which includes a list of sports teams. RootViewController lists all the teams in a table view. When I click a row I want to load up a TeamViewController, which just shows the record for a single team.
The catch is Im wanting to display that single teams details in the Grouped Table View Style.
This is causing me endless issues.
I just can't seem to work out where I draw on the objects I need from. eg Do I need to use NSFetchedResultsController.
Ive implemented core data and can see example of what to do from the AppDelegate and RootViewController but which bits to replicate and which parts I just call in in my new TeamViewController have me stumped.
To setup cellForRowAtIndexPath in TeamViewController what are the main steps I need to go through so that I can pull in the single selected record and be able to manipulate it and also how do I go about laying out my Grouped Table View for that record.
More broadly what Im not seeming to get is which bits are carried forward in each new ViewController so I can make my navigation app have many pages, with each record drilling in to give the next pages view.
If this is a bit confused just ask me more questions and I'll clarify.