nicklockwood / AsyncImageView

[DEPRECATED]
http://charcoaldesign.co.uk/source/cocoa#asyncimageview
Other
906 stars 186 forks source link

unrecognized selector exception #2

Closed SeaHawk closed 12 years ago

SeaHawk commented 12 years ago

For some reason I'm getting an error when I set imageURL property.

Here is my code: imageView = [[UIImageView alloc] initWithFrame:item.imageFrame]; imageView.imageURL = [NSURL URLWithString:item.items_image];

Here is the error log: 2011-09-27 17:20:48.473 app[41431:207] -[UIImageView setImageURL:]: unrecognized selector sent to instance 0x598bb20 2011-09-27 17:20:48.477 app[41431:207] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView setImageURL:]: unrecognized selector sent to instance 0x598bb20'

Did I miss something? or am I doing something wrong?

nicklockwood commented 12 years ago

That looks right. Check that the AsyncImageView.m file has been correctly added to your project target, and maybe do a clean build.

SeaHawk commented 12 years ago

Clean build helped =) so stupid...

Sorry for disturbing you.