From fb4b9e743eae94c73d205e2d04ef0bf6554b90b4 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sun, 2 Jun 2019 11:44:04 +0800 Subject: [PATCH] Using the framework import instead of module import to support project without clang module --- SDWebImageWebPCoder/Classes/SDImageWebPCoder.h | 3 +-- SDWebImageWebPCoder/Classes/UIImage+WebP.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h b/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h index 4a02ddd..ca6e7f2 100644 --- a/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h +++ b/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h @@ -6,8 +6,7 @@ * file that was distributed with this source code. */ -#import -@import SDWebImage; +#import /** Built in coder that supports WebP and animated WebP diff --git a/SDWebImageWebPCoder/Classes/UIImage+WebP.h b/SDWebImageWebPCoder/Classes/UIImage+WebP.h index b935d2f..1e4b0f5 100644 --- a/SDWebImageWebPCoder/Classes/UIImage+WebP.h +++ b/SDWebImageWebPCoder/Classes/UIImage+WebP.h @@ -6,7 +6,7 @@ * file that was distributed with this source code. */ -@import SDWebImage; +#import // 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)