I have a small problem I need pointed in the right direction with. I have an XML file that I am using to populate a Tableview with. It is setup like the following example....
Code:
<Schedule>
<Month name="October 2009">
<Game>
<Date>
<HomeTeam>
<AwayTeam>
<Time>
<Result>
</Game>
</Month>
<Month name="November 2009">
<Game>
<Date>
<HomeTeam>
<AwayTeam>
<Time>
<Result>
</Game>
</Month>
</Schedule>
I can populate the table fine with all the <Game> nodes fine and I can also create the array of <Month> objects, but when I have
Code:
return [months count];
under numberOfSectionsInTableView method the app crashes.
How can I tell the Tableview to create a new section with the month name and then populate it with it's children? I'm semi new, but having a tough time getting this to work. Help always appreciated! Thanks!