How to make a section show all the content? (in a UITableView) -


i playing piece of code , have gotten far. app gets xml feed display job advertisements, , shows them in images attached.

what trying figure out is, how make "description" part display information taken xml file.

would answer hidden in changing in method?

- (uitableviewcell *)tableview:(uitableview *)tv cellforrowatindexpath:(nsindexpath *)indexpath {  static nsstring *cellidentifier = @"cell";  uitableviewcell *cell = [tableview dequeuereusablecellwithidentifier:cellidentifier]; if (cell == nil) {     cell = [[[uitableviewcell alloc] initwithframe:cgrectzero reuseidentifier:cellidentifier] autorelease]; }  switch(indexpath.section) {     case 0:         cell.text = abook.title;         break;     case 1:         cell.text = abook.author;         break;     case 2:         cell.text = abook.summary;         break; }  return cell; 

}

list of jobs

detail of job

try implement this:

-(cgfloat ) tableview:(uitableview*) tableview heightforrowatindexpath:(nsindexpath*) indexpath { if(indexpath.section==2) { return 60; } } 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -