-
Notifications
You must be signed in to change notification settings - Fork 5
/
AsyncOpKit.podspec
24 lines (22 loc) · 1.28 KB
/
AsyncOpKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Pod::Spec.new do |s|
s.name = "AsyncOpKit"
s.version = "1.2.3"
s.summary = "NSOperation for Swift with generic input/output, chaining, error handling, and closures"
s.description = <<-DESC
AsyncOpKit brings Swift generics, error handling, and closures to NSOperations with `AsyncOp`, a Swift-only generic NSOperation subclass for composing asynchronous code.
`AsyncOp` supports:
* Generic input and output
* Closures for starting and cancelling work, handling results
* Closures for evaluating preconditions
* Making an AsyncOp dependent on input from another
You can subclass AsyncOp, but because it provides built-in storage for generic input and output and allows you to customize behavior with closures, in many if not most cases you can just use AsyncOp as-is.
DESC
s.author = "Jed Lewison"
s.homepage = "https://github.com/jedlewison/AsyncOpKit"
s.license = 'MIT'
s.source = { :git => "https://github.com/jedlewison/AsyncOpKit.git", :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.requires_arc = true
s.source_files = "{AsyncOp.swift,AsyncOpTypes.swift,AsyncOpGroup.swift,Legacy/*.swift}"
end