m having this coe….could any one tell me how can i print it on UITable view cell
[customerDetailsArray addObject:[NSDictionary dictionaryWithObjectsAndKeys:nameStr,@”name”,cityStr,@”city”,countryStr,@”country”,nil]];
NSLog(@”customerDetailsArray %@”,customerDetailsArray);
I am trying by this way but nt successful
if(indexPath.row == 0)
{
cell.textLabel.text = [NSString stringWithFormat:@””,[[customerDetailsArray objectAtIndex:indexPath.row] objectForKey:@”name”]];
}
Thank You..If u like my question atleast accept it……
You are putting in a blank string every time. Change it to this:
Notice the
%@