summaryrefslogtreecommitdiff
path: root/Juick/UIImage+Utils.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2014-02-01 19:47:09 +0400
committerGravatar Vitaly Takmazov2014-02-01 19:47:09 +0400
commit6ee0e66d56f02c4b534dd83fca24cb0c1f408f06 (patch)
tree6935c24fd232f38baf68cc59e61bef681eb8b588 /Juick/UIImage+Utils.h
parent297dfab2b57a00a7a40328d68af30dc6b32d3320 (diff)
0ld-zkul hax0r manual cell layout
Diffstat (limited to 'Juick/UIImage+Utils.h')
-rw-r--r--Juick/UIImage+Utils.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Juick/UIImage+Utils.h b/Juick/UIImage+Utils.h
new file mode 100644
index 0000000..8de91bf
--- /dev/null
+++ b/Juick/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 <UIKit/UIKit.h>
+
+@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