2013-04-03 17 views

回答

1

的的NSOperation類是使用封裝在單個任務相關的代碼和數據的抽象類。

NSOperationQueue類調節一組NSOperation對象的執行。在添加到隊列後,操作將保留在該隊列中,直到它被明確取消或完成其任務。

你也可以檢查這些links..because他們已經給出了很好的答案: -

Difference between NSOperation and NSInvocationOperation?

http://www.raywenderlich.com/19788/how-to-use-nsoperations-and-nsoperationqueues