Difference between NSOperation and NSInvocationOperation?

后端 未结 2 1935
野性不改
野性不改 2021-02-10 14:41

1) what is happening when we add NSOperation or NSInvocationOperation in NSoperationQueue?

2) What is the difference between

2条回答
  •  悲&欢浪女
    2021-02-10 15:33

    Cocoa Is My Girlfriend has a good tutorial on the use of NSOperation and NSOperationQueue. The tutorial makes use of NSOperation to download several webpages simultaneously in separate threads.

    Also Check this question NSOperation on the iPhone

提交回复
热议问题