On Jul 1, 2011, at 1:55 PM, Fernando Aureliano wrote:

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

That’s not going to compile. You probably want the RHS to be:

[UIImage imageWithContentsOfFile:[[data objectAtIndex:index] 
objectForKey:@“cover”]]

That should work, assuming that the value of the “cover” property is a valid 
file path.

—Jens_______________________________________________

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