Convert Object to String iPhone SDK
Posted
by Ploetzeneder
on Stack Overflow
See other posts from Stack Overflow
or by Ploetzeneder
Published on 2009-11-08T18:25:25Z
Indexed on
2010/04/07
4:03 UTC
Read the original article
Hit count: 638
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 ?
© Stack Overflow or respective owner