开发者

How to use and where to use NSOperation and NSOperationQueue> [duplicate]

开发者 https://www.devze.com 2023-02-22 16:02 出处:网络
This question already has answers here: Closed 11 years ago. Possib开发者_运维百科le Duplicate: NSOperation on the iPhone
This question already has answers here: Closed 11 years ago.

Possib开发者_运维百科le Duplicate:

NSOperation on the iPhone

I am new to Objective-c Iphone, and I came to know about NSOperation and NSOperationQueue. Where to use this and how can I use this? Can anyone give me explanations with any small example program?

Thanks in advance...


This will surely help you - http://www.icodeblog.com/2010/03/04/iphone-coding-turbo-charging-your-apps-with-nsoperation/


A quick Google turned up:

  • The Concurrency Programming Guide, dealing with operations and threading
  • The NSOperationQueue class reference
  • The (aptly named) NSOperationSample example project, straight from Apple, and
  • A descriptive post from the excellent blog "Cocoa Is My Girlfriend," with a small, well-explained example, complete with code snippets.
0

精彩评论

暂无评论...
验证码 换一张
取 消