Criar UIImage usando Block, Thread-Safe
//// UIImageCreateUsingBlock.m//// Copyright (c) 2013 Zachary Waldowski.// Licensed under MIT – Provided as-is.//#import <UIKit/UIKit.h>#import <CoreGraphics/CoreGraphics.h>static inline size_t aligned_size(size_t size, size_t alignment) { size_t r = size + –alignment + 2; …
Continuar lendo