From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传

---
 screendisplay/Pods/SDWebImage/SDWebImage/UIImage+GIF.m |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/screendisplay/Pods/SDWebImage/SDWebImage/UIImage+GIF.m b/screendisplay/Pods/SDWebImage/SDWebImage/UIImage+GIF.m
new file mode 100644
index 0000000..6fbca7a
--- /dev/null
+++ b/screendisplay/Pods/SDWebImage/SDWebImage/UIImage+GIF.m
@@ -0,0 +1,27 @@
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Laurin Brandner
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+#import "UIImage+GIF.h"
+#import "SDWebImageGIFCoder.h"
+#import "NSImage+WebCache.h"
+
+@implementation UIImage (GIF)
+
++ (UIImage *)sd_animatedGIFWithData:(NSData *)data {
+    if (!data) {
+        return nil;
+    }
+    return [[SDWebImageGIFCoder sharedCoder] decodedImageWithData:data];
+}
+
+- (BOOL)isGIF {
+    return (self.images != nil);
+}
+
+@end

--
Gitblit v1.8.0