Convert Object to String iPhone SDK
- by Ploetzeneder
Hello,
I have got something strange:
This Code does NOT Work:
cell.imvstatus.image = [UIImage imageNamed:[[tutorials objectAtIndex:indexPath.row] objectForKey:@"image"] ];
This code works:
cell.imvstatus.image = [UIImage imageNamed:@"ROR.png" ];
And in the object there is the value "ROR.png"
Whats the problem at the above one?
How can I find out a solution?
Do i have to cast it to a string ?