why wont this appear on my table view?

Discussion in 'iOS Programming' started by geiger10d, Feb 24, 2011.

  1. geiger10d, Feb 24, 2011
    Last edited by a moderator: Feb 24, 2011

    geiger10d macrumors member

    Jan 31, 2011
    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

    - (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"];
  2. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    this isn't the code from ur cell's.
    And u say u click before the view loads, how does the "view" knows what to implement. Not really getting the problem..

Share This Page