π Give this repo a star and help its development grow! π
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
for a simple example of usage.
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.
git clone https://github.com/MKGitHub/MKBlockQueue.git
then add MKBlockQueue.swift
to your Xcode project.MKBlockQueue.swift
to your Xcode project.github "MKGitHub/MKBlockQueue" ~> 1.1
then carthage update --no-build
then add MKBlockQueue.swift
to your Xcode project.Go to the documentation index page.
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.
https://github.com/MKGitHub/MKBlockQueue
Copyright 2016/2017/2018 Mohsan Khan
Licensed under the Apache License, Version 2.0.
link |
Stars: 4 |
Last commit: 5 years ago |
Version 1.1 is a major refactoring, and updates for Swift 4.2.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics