I have a plist which contains an array of NSDictionary ‘s which represent a certain event each dictionary contains a few pieces of information about the event and a NSDate with the date of the event e.g.
I wish to create a sectioned table view with this date very much like in the Calendar app which ships with the iPhone when you click on the “List” view. You can see there are only sections for the dates where there are events.
So whats the best way to find out to begin with how many NSDictionary ‘s have the same date (so I know how many sections to create and how many rows in each section, as each section will have a different amount or rows).
Thanks
I did something very similar to this for Reconnected except my sections are for years (see the History screenshot).
At the end of step 5, you should have an array of sections. From that section you can send it a message for the number of NSDictionary’s you’ve added to the section which will represent each rows in your table.