Mac OS X Reference Library Apple Developer
Search

NSOperationSample

Last Revision:
Version 1.2, 2009-09-11
Fixed a memory leak, some code reformatting.
(Full Revision History)
Build Requirements:
Xcode 3.0
Runtime Requirements:
Mac OS X 10.5

"NSOperationSample" is a Cocoa application that demonstrates how to use NSOperation and NSOperationQueue classes. It encapsulates specific tasks like searching the file system for certain image files. One NSOperation is created for recursively searching a given directory, other NSOperation instances are then created for each image file found. It uses NSOperationQueue to manage these operations so users can stop the search and give the primary search operation more time to execute.




Last updated: 2009-09-11

Did this document help you? Yes It's good, but... Not helpful...