摘要:
1 void UIImageFromURL( NSURL * URL, void (^imageBlock)(UIImage * image), void (^errorBlock)(void) ) 2 { 3 dispatch_async( dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_DEFAULT, 0 ), ^(void) 4 { 5 NSData * data = [[[NSData alloc] initWithContentsOfU... 阅读全文