OOUIUtils.h
1 
9 #import <Foundation/Foundation.h>
10 #import <UIKit/UIKit.h>
11 
12 @interface OOUIUtils : NSObject
13 
14 + (void)doSafeGStateBlock:(void(^)(CGContextRef))block;
15 
16 + (UIColor *)colorByDarkening:(UIColor*)color by:(float)factor;
17 
18 + (UIImage *)imageFromBase64String:(NSString *)string;
19 
20 + (BOOL)isIpad;
21 
22 + (BOOL)is1xDensity;
23 
29 + (void)runOnMainThread:(void (^)(void))block;
30 
31 @end
BOOL isIpad()
OOUIUtils.
Definition: OOUIUtils.h:12
BOOL is1xDensity()