Add missing line
This commit is contained in:
parent
41f6185043
commit
1be0ce954f
|
@ -10,6 +10,7 @@ extension UIImage {
|
||||||
class func imageWithData(data: NSData, size: CGSize) -> UIImage? {
|
class func imageWithData(data: NSData, size: CGSize) -> UIImage? {
|
||||||
return UIImage(data: data)?.resize(size)
|
return UIImage(data: data)?.resize(size)
|
||||||
}
|
}
|
||||||
|
|
||||||
class func sizeForImageData(data: NSData) -> CGSize? {
|
class func sizeForImageData(data: NSData) -> CGSize? {
|
||||||
return UIImage(data: data)?.size
|
return UIImage(data: data)?.size
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue