Hi,

I'm reading data from an plist, and I'm having problems for get the image.

The code for text look like this:

cell.auhorLabel.text = [[data objectAtIndex:index] objectForKey:@"author"];

Works fine.


The code to get a image em put in uiimageview look like this:

cell.coverAuthor.image = [UIImage imageWithContentsOfFile:[data
objectAtIndex:index] objectForKey:@"cover"];


yeah, I know, this last line is strange.

How is the right way?


Thanks!


-- 
*Fernando Aureliano*
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to