You are going to have to split each day up into a separate section and implement the proper UITableViewDataSource protocols for section indexes: developer.apple.com/library/ios/#documen... Here is a tutorial: iphonedevcentral.com/indexed-uitableview....
I keep trying and am having no luck. I don't understand hod to get this working with changing variables. I posted my code above can you show me how I implement this.Thanks.
– BDGapps May 24 at 0:56.
If I understand your question correctly, you need to change the section titles with the date you want to display. You do this by implementing the (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section method. See this blog as an example: iphonesdkarticles.com/2009/01/uitablevie....
But how do I use if(section == 0) return @"Countries to visit"; else return @"Countries visited"; } if its ever changing because It has to do with the other arrays that update. – BDGapps May 21 at 18:09 well my guess is you'll have to come up with a way of identifying the events in a given day and create an array of the dates that have events. Then when you are populating the table with the events, you break the events into sections by dates and label the sections with the corresponding date from your date array.
– HM1 May 21 at 18:18.
I have all the code written out to divide an NSMutableArray into sections for a UITableView. But in cellForRowAtIndexPath I am finding that indexPath. Row returns only the row for the current section.
Is there any way to simply provide the number of the row for the entire UITableView. If anyone needs to see the code I will attach it but I don't think it's very useful to answer this question except for if I must use another algorithm to find the cellForRow.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.