Usually I store data in an array. Then, when cellForRowAtIndexPath is called I just look at row and select an item on the array based on row and process.
But UITableView as we know can do group view.
So what should I do?
Should I have an array of array? An NSDictionary of array? What would be the most elegant way to store data in UITableView structure?
See Question&Answers more detail:os