Using the framework import instead of module import to support project without clang module

This commit is contained in:
DreamPiggy 2019-06-02 11:44:04 +08:00
parent 299d1d7e5e
commit fb4b9e743e
2 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
#import <Foundation/Foundation.h> #import <SDWebImage/SDWebImage.h>
@import SDWebImage;
/** /**
Built in coder that supports WebP and animated WebP Built in coder that supports WebP and animated WebP

View File

@ -6,7 +6,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
@import SDWebImage; #import <SDWebImage/SDWebImage.h>
// This category is just use as a convenience method. For more detail control, use methods in `UIImage+MultiFormat.h` or directlly use `SDImageCoder` // This category is just use as a convenience method. For more detail control, use methods in `UIImage+MultiFormat.h` or directlly use `SDImageCoder`
@interface UIImage (WebP) @interface UIImage (WebP)