I need some help with tables and have studied many examples/tutorials similar to http://www.mobisoftinfotech.com/blog/iphone/iphone-uitableview-tutorial-grouped-table/
However, I could not find information that is applicable for my context and decided to seek some help here! 🙂
What I already did:
-
Arrange rows(containing book details) accordingly to due dates
-
Create section headers containing the due dates
What I need to do:
- Classify the rows accordingly to the due dates
- If due dates is similar, row would be under the same section header
Thanks all! 😀
Create a dictionary where the key for each entry in a due date and the value for the entry is an array of book details. The number of sections is the number of dates, the number of rows for each section is the count of the array that matches the date for that section.