Merge pull request #376 from ivanoblomov/master

Added alternate compiler flag for frameworks that extend optional libraries, like Parse and RestKit
This commit is contained in:
Bogdan Poplauschi 2014-06-16 18:07:39 +03:00
commit 6759e5982e
1 changed files with 4 additions and 0 deletions

View File

@ -247,6 +247,10 @@ Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linke
![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg)
Alternatively—if this causes compilation problems with frameworks that extend optional libraries, such as Parse or RestKit—instead of the -ObjC flag use:
-force_load SDWebImage.framework/Versions/Current/SDWebImage
### Import headers in your source files
In the source files where you need to use the library, import the header file: