Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A LIFO (last in, first out) implementation of Apple's NSOperationQueue
Objective-C Ruby
branch: master

Fixes #1

Signed-off-by: Chris Brauchli <cbrauchli@gmail.com>
latest commit d6ace9ddc7
@cbrauchli authored
Failed to load latest commit information.
.gitignore Pod fixes
CBOperationStack.h Fixes #1
CBOperationStack.m Added autoreleasepool
CBOperationStack.podspec Pod fixes
LICENSE Initial commit.
MIT-LICENSE Pod fixes
README.md Wording

README.md

CBOperationStack

A LIFO (last in, first out) Objective-C implementation of Apple's NSOperationQueue.

Interface

CBOperationStack has the same interface as NSOperationQueue with the difference that operations are (roughly) run in a last in, first out order as opposed to NSOperationQueue's first in, first out order.

The other difference from NSOperationQueue is the addition of one method:

- (void)addOperationAtBottomOfStack:(NSOperation *)op;

which effectively allows you to use CBOperationStack as a queue as well.

CBOperationStack does not implement either the + (id)currentQueue or + (id)mainQueue methods yet.

Something went wrong with that request. Please try again.