Merge pull request #15 from 0x0c/master

Fix the issue that could not compile SDWebImageWebPCoder when using CocoaPods with use_modular_header!
This commit is contained in:
DreamPiggy 2019-06-02 11:40:19 +08:00 committed by GitHub
commit 299d1d7e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
*/ */
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <SDWebImage/SDImageCoder.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/SDWebImageCompat.h> @import SDWebImage;
// 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)