forked from bby-stdc/AsyncOpKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAsyncOpKit.podspec
More file actions
25 lines (23 loc) · 1.33 KB
/
AsyncOpKit.podspec
File metadata and controls
25 lines (23 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Pod::Spec.new do |s|
s.name = "AsyncOpKit"
s.version = "2.0.0"
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/bby-stdc/AsyncOpKit"
s.license = 'MIT'
s.source = { :git => "https://github.com/bby-stdc/AsyncOpKit.git", :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.requires_arc = true
s.source_files = "{AsyncOp.swift,AsyncOpTypes.swift,AsyncOpGroup.swift,Legacy/*.swift}"
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.1' }
end