Skip to content
Cappuccino implementation of NSOperation, NSOperationQueue, NSInvocationOperation and NSBlockOperation
Objective-J
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CPOperation
Tests
README.mdown

README.mdown

CPOperation

This works just like the Cocoa classes. So you can just check out the official docs. One exception: Everywhere where the Cocoa API uses the term "block", CPOperation uses "function". So it's CPFunctionOperation instead of CPBlockOperation.

For more usage examples, look at the tests. You can run them like this:

ojtest Tests/*.j

To use it in your project, just copy the CPOperation directory to your project's Frameworks directory and import the classes like so:

@import <CPOperation/CPOperationQueue.j>

2009, Johannes Fahrenkrug

You can’t perform that action at this time.