Uitableview sections and rows from xml?

. I don't know if I understood coorect, but let's go You can create a dictionary of arrays NSMutableDictionary *dates = NSMutableDictionary alloc; NSMutableArray *events = NSMutableArray alloc in the array you will insert all event of one date events addObject:@"event 1" in the dictionary you will insert the array of events with tha date as key dates setobject:events forKey:@"01/01/2010" whenever the parser find a new date, a new array should be created (I mean, the values are new.. don't append the array, clean it.. but you don't need to create a brand new array) of course that you have to make some changes on the parser to identify the dates and etc, but it's not a big deal in your table each section is one key from your dictionary.. so the number of sections is the number of items on the dictionary.. and the values inside the section is the array of each date I hope it helps.

. I don't know if I understood coorect, but let's go.. You can create a dictionary of arrays.. NSMutableDictionary *dates = NSMutableDictionary alloc; NSMutableArray *events = NSMutableArray alloc; in the array you will insert all event of one date.. events addObject:@"event 1"; in the dictionary you will insert the array of events with tha date as key dates setobject:events forKey:@"01/01/2010"; whenever the parser find a new date, a new array should be created (I mean, the values are new.. don't append the array, clean it.. but you don't need to create a brand new array) of course that you have to make some changes on the parser to identify the dates and etc, but it's not a big deal. In your table each section is one key from your dictionary.. so the number of sections is the number of items on the dictionary.. and the values inside the section is the array of each date.. I hope it helps..

Got two sections with one row in each section. Execute fetch request used in FRC. Got array with two elements.

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.

Related Questions