hey guys, i changed my table view around so its from a dictionary now so that i can add a add button to it, but i was just wondering why when i click on a cell before this view that comes to this one, nothing shows up in the cell its just three or four blank cells
Code:
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
for (NSUInteger row = 0; row < [cellTitles count]; row++) {
NSMutableArray *tempTitleArray = [NSMutableArray array];
NSMutableArray *tempDescriptionArray = [NSMutableArray array];
if ([[cellTitles objectAtIndex:row] isEqualToString:@"Cdfsdfsdfrkfdfouts"]) {
[tempTitleArray addObject:@"blahss"];
[tempDescriptionArray addObject:@"Alsoasfoulders s"];
[tempTitleArray addObject:@"afasfa(Common)"];
[tempDescriptionArray addObject:@"Alsasfaiceps "];
[tempTitleArray addObject:@"afsfdfs"];
[tempDescriptionArray addObject:@"nest"];
[tempTitleArray addObject:@"Dsdfsdfssips"];
[tempDescriptionArray addObject:@"bldfah"];
Last edited by a moderator: