TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | Apache 2 |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✓ |
Maintained by Mohsan Khan.
MKBlockQueue allows you to create a chain of blocks and execute them one after the other in a queue. Compared with NSOperation
, with MKBlockQueue you decide yourself when a block is complete and when you want the queue to continue. You can also pass data from one block to the next.
See the ViewController.swift
for a simple example of usage. https://raw.githubusercontent.com/MKGitHub/MKBlockQueue/master/MKBlockQueue-Example-Project/ViewController.swift
There is no framework/library distibution, I recommend that you add the MKBlockQueue/Sources to your project. As this will allow you to easily find & read the MKBlockQueue API, it will also allow MKBlockQueue to compile using your apps build settings.
git clone https://github.com/MKGitHub/MKBlockQueue.git
then Drag & Drop the MKBlockQueue/Sources into your Xcode project.
Drag & Drop the MKBlockQueue/Sources into your Xcode project.
github "MKGitHub/MKBlockQueue" ~> 1.0.4
then carthage update --no-build
then Drag & Drop the MKBlockQueue/Sources into your Xcode project.
swift build
or swift package generate-xcodeproj
pod 'MKBlockQueue', '~> 1.0.4'
Go to the documentation index page.
MKBlockQueue is used in production in the following apps/games (known to me), these apps are together used by many millions of users every day. Please let me know if you use MKBlockQueue.
https://github.com/MKGitHub/MKBlockQueue
Copyright 2016/2017 Mohsan Khan
Licensed under the Apache License, Version 2.0.