I have th开发者_如何转开发is code:
cell.textLabel.text = [[appDelegate.client objectAtIndex:indexPath.row] objectAtIndex:0];
but I want write in the cell table view also the "objectAtIndex:1" then after
...objectAtIndex:0...????
what can I write?
NSString *a = [[appDelegate.client objectAtIndex:indexPath.row] objectAtIndex:0];
NSString *b = [[appDelegate.client objectAtIndex:indexPath.row] objectAtIndex:1];
cell.textLabel.text = [NSString stringWithFormat:@"%@%@", a, b];
See NSString Class Reference and Formatting String Objects.
精彩评论