Download and Add framework
Step 1: Download and unzip the lastest version here: SDWebImage.Framework
Step 2: Right-click on the project navigator and select "Add Files to "Your Project": In the dialog, select SDWebImage.framework, and check the "Copy items into destination group's folder (if needed)" checkbox
Add dependencies
In you application project apps target settings, find the "Build Phases" section and open the "Link Binary With Libraries" block: Click the "+" button again and select the "ImageIO.framework"
Add Linker Flag
Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linker Flags" setting and add the "-ObjC" flag:
Import headers in your source files
#import <SDWebImage/UIImageView+WebCache.h>
Happy Coding...!!!
0 Comment(s)