Add AFNetworking to your project (eg. via cocoapods.org), copy these two files into your project, then
#import UIImageView+AFNetworkingFadeInAdditions.h
and use it like this:
[imageView setImageWithURL:myNSURL placeholderImage:someUIImageOrNil fadeInWithDuration:0.2f];
Getting an error after adding these two classes in my project.
No visible interface for UIImageview in line 12.Could you please help me out.
Thanks