Operations
文章平均质量分 81
chuanyituoku
这个作者很懒,什么都没留下…
展开
-
Using Operation Queues for Concurrency
Using Operation Queues for ConcurrencyYou have implemented a concurrent program using threads and a concurrent operation, so now you will implement a program that uses operations and an operation原创 2013-11-28 15:35:02 · 879 阅读 · 0 评论 -
Brief Intro to Operations and Operation Queues of Foundation Framework
Operations and Operation QueuesIn Chapter 11, you learned about operation objects, instances of the NSOperation class (and its subclasses) that encapsulate the code and data for a single task.原创 2013-11-27 18:12:35 · 1039 阅读 · 0 评论 -
Choosing the Right API for Concurrent Programming
Choosing the Right API for Concurrent ProgrammingThis chapter has covered a variety of approaches for concurrent programming, so you have several options to choose from. To recap, the following ar原创 2013-11-28 16:00:30 · 691 阅读 · 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 · 560 阅读 · 0 评论
分享