Skip to content

Commit 299d1d7

Browse files
authored
Merge pull request #15 from 0x0c/master
Fix the issue that could not compile SDWebImageWebPCoder when using CocoaPods with use_modular_header!
2 parents b5506c1 + 16ef0cf commit 299d1d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SDWebImageWebPCoder/Classes/SDImageWebPCoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
#import <Foundation/Foundation.h>
10-
#import <SDWebImage/SDImageCoder.h>
10+
@import SDWebImage;
1111

1212
/**
1313
Built in coder that supports WebP and animated WebP

SDWebImageWebPCoder/Classes/UIImage+WebP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* file that was distributed with this source code.
77
*/
88

9-
#import <SDWebImage/SDWebImageCompat.h>
9+
@import SDWebImage;
1010

1111
// This category is just use as a convenience method. For more detail control, use methods in `UIImage+MultiFormat.h` or directlly use `SDImageCoder`
1212
@interface UIImage (WebP)

0 commit comments

Comments
 (0)