OOUIUtils.
More...
#import "OOUIUtils.h"
| + (UIColor *) colorByDarkening: |
|
(UIColor *) |
color |
| by: |
|
(float) |
factor |
|
|
| |
| + (void) doSafeGStateBlock: |
|
(void(^)(CGContextRef)) |
block |
|
| + (UIImage *) imageFromBase64String: |
|
(NSString *) |
string |
|
| + (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
-
| block | of code to run on the main thread. |
The documentation for this class was generated from the following file: