From 1be0ce954fe6651d527c43fab440120363e56855 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Fri, 12 Dec 2014 22:49:22 +0100 Subject: [PATCH] Add missing line --- Source/UIImageExtension.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/UIImageExtension.swift b/Source/UIImageExtension.swift index 3ba0956..9b9febc 100644 --- a/Source/UIImageExtension.swift +++ b/Source/UIImageExtension.swift @@ -10,6 +10,7 @@ extension UIImage { class func imageWithData(data: NSData, size: CGSize) -> UIImage? { return UIImage(data: data)?.resize(size) } + class func sizeForImageData(data: NSData) -> CGSize? { return UIImage(data: data)?.size }