Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

geiger10d

macrumors member
Original poster
Jan 31, 2011
57
0
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:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.