SerialAsyncOperation
Use NSOperation to implement serial asynchronous task.
Requirements:
Xcode 8 (or later) with Objective-C. This library is made for iOS 8 or later.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate SerialAsyncOperation into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
target '<Your Target Name>' do
pod 'SerialAsyncOperation'
end
Then, run the following command:
$ pod install
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate SerialAsyncOperation into your Xcode project using Carthage, specify it in your Cartfile
:
github "icetime17/SerialAsyncOperation"
Run carthage update
to build the framework and drag the built SerialAsyncOperation.framework
in folder /Carthage/Build/iOS into your Xcode project.
Manually
Add the Sources folder to your Xcode project to use all extensions, or a specific extension.
Usage
Please check the demo.
Contact
If you find an issue, just open a ticket. Pull requests are warmly welcome as well.
License
SerialAsyncOperation is released under the MIT license. See LICENSE.md for details.