Skip to content

A LIFO (last in, first out) implementation of Apple's NSOperationQueue

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE
Notifications You must be signed in to change notification settings

cbrauchli/CBOperationStack

Repository files navigation

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.

About

A LIFO (last in, first out) implementation of Apple's NSOperationQueue

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE

Stars

Watchers

Forks

Packages

No packages published