I am trying to work out on this scenario and just curious if it’s possible to have multiple sections in one UITableView with with multiple NSDictionary contents? I have been trying to figure this and see if someone have had encountered this issue and how did s/he could get it resolved?
I have segregated count in numberOfRowsInSection method, but at cellForRowAtIndexPath I am having some issues with respect to how to segregate the sections with different dictionaries.
CellForRowAtIndexPath receives the indexPath parameter as an input. The indexPath.section attribute tells you what section of the table the cell is in, and indexPath.row tells you what row within that section. If you have a separate dictionary for each section, then you do a switch on indexPath.section, and get the data from the appropriate dictionary for that row.