forked from RxSwiftCommunity/RxWebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRxWebKit.podspec
More file actions
41 lines (32 loc) · 1.03 KB
/
RxWebKit.podspec
File metadata and controls
41 lines (32 loc) · 1.03 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Pod::Spec.new do |s|
s.name = "RxWebKit"
s.version = "0.3.7"
s.summary = "RxWebKit is a RxSwift wrapper for WebKit."
s.description = <<-DESC
RxWebKit is a RxSwift wrapper for `WebKit`.
```swift
// MARK: Setup WKWebView
let webView = WKWebView(frame: self.view.bounds)
self.view.addSubview(webView)
// MARK: Observing properties
webView.rx.title
.subscribe(onNext: {
print("title: \($0)")
})
.disposed(by: disposeBag)
webView.rx.url
.subscribe(onNext: {
print("URL: \($0)")
})
.disposed(by: disposeBag)
```
DESC
s.homepage = "https://github.com/RxSwiftCommunity/RxWebKit"
s.license = "MIT"
s.author = { "mokumoku" => "da1lawmoku2@gmail.com" }
s.source = { :git => "https://github.com/RxSwiftCommunity/RxWebKit.git", :tag => s.version.to_s }
s.source_files = "RxWebKit/Sources/**/*.swift"
s.ios.deployment_target = '8.0'
s.dependency 'RxSwift', '~> 4.0'
s.dependency 'RxCocoa', '~> 4.0'
end