Operation Queues
chuanyituoku
这个作者很懒,什么都没留下…
展开
-
Effective Objective-C 2.0: Item 43: Know When to Use GCD and When to Use Operation Queues
Item 43: Know When to Use GCD and When to Use Operation Queues GCD is a fantastic technology, but it is sometimes better to use other tools that come as part of the standard system libraries. Knowi原创 2013-12-12 21:54:01 · 1283 阅读 · 0 评论 -
Creating an NSInvocationOperation Object / NSBlockOperation Object
@implementation MyCustomClass - (NSOperation*)taskWithData:(id)data { NSInvocationOperation* theOp = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(myTaskMethod:) object:data]原创 2014-08-29 10:09:28 · 546 阅读 · 0 评论