How to use and where to use NSOperation and NSOperationQueue> [duplicate]
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.
精彩评论