From 188d8e4ea870d1a6c8edd5a9b323742804badeba Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 28 Aug 2016 21:03:22 +0300 Subject: project cleanup --- Juick/Helpers/UIImage+Utils.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Juick/Helpers/UIImage+Utils.h (limited to 'Juick/Helpers/UIImage+Utils.h') diff --git a/Juick/Helpers/UIImage+Utils.h b/Juick/Helpers/UIImage+Utils.h new file mode 100644 index 0000000..8de91bf --- /dev/null +++ b/Juick/Helpers/UIImage+Utils.h @@ -0,0 +1,19 @@ +// +// UIImage+Utils.h +// Juick +// +// Created by Vitaly on 01.02.14. +// Copyright (c) 2014 com.juick. All rights reserved. +// + +#import + +@interface UIImage (Utils) + ++ (UIImage*)imageWithImage:(UIImage *)image convertToWidth:(float)width covertToHeight:(float)height; ++ (UIImage*)imageWithImage:(UIImage *)image convertToHeight:(float)height; ++ (UIImage*)imageWithImage:(UIImage *)image convertToWidth:(float)width; ++ (UIImage*)imageWithImage:(UIImage *)image fitInsideWidth:(float)width fitInsideHeight:(float)height; ++ (UIImage*)imageWithImage:(UIImage *)image fitOutsideWidth:(float)width fitOutsideHeight:(float)height; ++ (UIImage*)imageWithImage:(UIImage *)image cropToWidth:(float)width cropToHeight:(float)height; +@end -- cgit v1.2.3