NSOperationQueue and concurrent vs non-concurrent

后端 未结 2 1283
执笔经年
执笔经年 2020-12-23 12:53

I want to setup a serialized task queue using NSOperationQueue but I\'m a little confused by the terminology discussed in the documentation.

In the co

2条回答
  •  失恋的感觉
    2020-12-23 13:07

    Do you really need to subclass NSOperation? Why not just use NSInvocationOperation and its addDependency: method?

    See my answer in this SO question.

提交回复
热议问题