BLFixedThreadOperations
A wrapper around NSThread to mimic NSOperationQueues, but make them work with a single thread.
Requirements
- Obj-C
- iOS, macOS
Installation
Cocoapods
Because of this, I've dropped support for Cocoapods on this repo. I cannot have production code rely on a dependency manager that breaks this badly.
Git Submodules
Why submodules, you ask?
Following this thread and other similar to it, and given that Cocoapods only works with Swift by adding the use_frameworks! directive, there's a strong case for not bloating the app up with too many frameworks. Although git submodules are a bit trickier to work with, the burden of adding dependencies should weigh on the developer, not on the user.
To install BLFixedThreadOperations using git submodules:
cd toYourProjectsFolder
git submodule add --name BLFixedThreadOperations https://github.com/BellAppLab/BLFixedThreadOperations.git
Navigate to the new Backgroundable folder and drag the Source folder into your Xcode project.
Author
Bell App Lab, apps@bellapplab.com
License
BLFixedThreadOperations is available under the MIT license. See the LICENSE file for more info.