2013年1月17日
摘要: 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... 阅读全文
posted @ 2013-01-17 12:08 罗凇 阅读(755) 评论(0) 推荐(0) 编辑