开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜