OOUIUtils Class Reference

OOUIUtils. More...

#import "OOUIUtils.h"

+ Inheritance diagram for OOUIUtils:

Class Methods

(void) + doSafeGStateBlock:
 
(UIColor *) + colorByDarkening:by:
 
(UIImage *) + imageFromBase64String:
 
(BOOL) + isIpad
 
(BOOL) + is1xDensity
 
(void) + runOnMainThread:
 If called on the main thread, the block will be invoked immediately. More...
 

Detailed Description

OOUIUtils.

OOUIUtils.h in OoyalaSDK

Method Documentation

+ (UIColor *) colorByDarkening: (UIColor *)  color
by: (float)  factor 
+ (void) doSafeGStateBlock: (void(^)(CGContextRef))  block
+ (UIImage *) imageFromBase64String: (NSString *)  string
+ (BOOL) is1xDensity
+ (BOOL) isIpad
+ (void) runOnMainThread: (void(^)(void))  block

If called on the main thread, the block will be invoked immediately.

Otherwise it will be dispatched to run on the main thread.

Parameters
blockof code to run on the main thread.

The documentation for this class was generated from the following file: