Chapter 7 ViewTaskController - 3 Sections in Table
In the ViewTaskController, as depicted on pg. 172 in figure 7-5, I'd like to split up the table into 3 sections and show the 6 rows of data split up over 3 table sections with section titles like the following:
Tasks due sooner than this one
Can anyone please explain exactly how this would be done in order to define the three section titles, section the table into 3 sections, define exactly how many rows per section, and push the correct data to each row in each section?
I know where the numberOfSectionsInTableView and numberOfRowsInSection code is in ViewTaskController.m, but I don't understand how to define the exact sections and data for each section in order to achieve the 3 sections as mentioned above.
Thanks in advance for your help.