https://github.com/mkgithub/mkblockqueue
MKBlockQueue allows you to create a chain of blocks and execute them one after the other in a queue.
https://github.com/mkgithub/mkblockqueue
block chain queue sequence swift
Last synced: over 1 year ago
JSON representation
MKBlockQueue allows you to create a chain of blocks and execute them one after the other in a queue.
- Host: GitHub
- URL: https://github.com/mkgithub/mkblockqueue
- Owner: MKGitHub
- License: apache-2.0
- Created: 2016-07-04T14:56:24.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-07T21:33:30.000Z (over 7 years ago)
- Last Synced: 2024-09-20T04:31:13.561Z (over 1 year ago)
- Topics: block, chain, queue, sequence, swift
- Language: Swift
- Size: 271 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://en.wikipedia.org/wiki/Stockholm)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
[](https://github.com/MKGitHub/MKBlockQueue)
๐ Give this repo a star and help its development grow! ๐
MKBlockQueue
------
MKBlockQueue allows you to create and chain blocks in a queue and execute them in serial order. 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 in the queue.

See [`ViewController.swift`](https://raw.githubusercontent.com/MKGitHub/MKBlockQueue/master/MKBlockQueue-Example-Project/ViewController.swift) for a simple example of usage.
Whatโs New?
------
* Version 1.1 is a major refactoring, and updates for Swift 4.2.
* Version 1.0.4 adds documentation.
Requirements
------
* Swift Version 4.2
* Xcode 10
How to Install
------
There is no framework/library distibution, I recommend that you simply add the `MKBlockQueue.swift` to your project. As this will allow you to easily find & read the MKBlockQueue API, and it will also allow MKBlockQueue to compile using your apps build settings.
* Using Git: `git clone https://github.com/MKGitHub/MKBlockQueue.git` then add `MKBlockQueue.swift` to your Xcode project.
* Manual Way: Add `MKBlockQueue.swift` to your Xcode project.
* Using Carthage: In your Cartfile add `github "MKGitHub/MKBlockQueue" ~> 1.1` then `carthage update --no-build` then add `MKBlockQueue.swift` to your Xcode project.
* Using Swift Package Manager: swift-tools-version:4.0
* CocoaPods support has been removed! ๐๐๐ Never use CocoaPods! ๐
Documentation
------
Go to the documentation [index page](http://htmlpreview.github.io/?https://raw.githubusercontent.com/MKGitHub/MKBlockQueue/master/docs/index.html).
Used In Apps
------
MKBlockQueue is used in production in the following apps/games (that I'm aware of), these apps are together used by millions of users. Please let me know if you use MKBlockQueue.
* Hoppa
* McDonald's apps
* Lรฅnekoll
Notes
------
https://github.com/MKGitHub/MKBlockQueue
http://www.xybernic.com
Copyright 2016/2017/2018 Mohsan Khan
Licensed under the Apache License, Version 2.0.