From 16ef0cf1a751ee4c652ed0a3116604ed27510ea1 Mon Sep 17 00:00:00 2001 From: Akira Date: Tue, 21 May 2019 01:21:19 +0900 Subject: [PATCH] Use @import --- SDWebImageWebPCoder/Classes/SDImageWebPCoder.h | 2 +- SDWebImageWebPCoder/Classes/UIImage+WebP.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h b/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h index 7729681..4a02ddd 100644 --- a/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h +++ b/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h @@ -7,7 +7,7 @@ */ #import -#import +@import SDWebImage; /** Built in coder that supports WebP and animated WebP diff --git a/SDWebImageWebPCoder/Classes/UIImage+WebP.h b/SDWebImageWebPCoder/Classes/UIImage+WebP.h index 45d9d20..b935d2f 100644 --- a/SDWebImageWebPCoder/Classes/UIImage+WebP.h +++ b/SDWebImageWebPCoder/Classes/UIImage+WebP.h @@ -6,8 +6,7 @@ * file that was distributed with this source code. */ -@import UIKit; -#import +@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` @interface UIImage (WebP)