What is the preferred method of creating detail view controllers for table rows? Let's say I have a UITableView with 100 rows in total. Each row can show a detail view controller. Should I re-allocate a new detail view controller for each row selected, or can I re-use the existing one using some sort of reset method?
Right now I have both options present in my code: For side swiping, I reset the same controller using a short fade animation.
For Core Data UITableView, I allocate a new controller for each row.
Should I try to reset the UITableView's detail controller when rows are selected, or is it a bad practice?
Update: I ended up allocating the controller for each table row selected. Within the controller, I added 2 extra buttons with fast forward and reverse icons. These allow the user to traverse the table data one by one, viewing all the details. I found that going back to the table to select one row after another to be too tedious. The extra buttons reset the controller for next/previous event. Since I'm using only one controller, I cannot user Core Animation to perform a view transtion. Instead, I scale the buttons on the controller to indicate that something has happened with "fast forward" has been tapped.
thank you!