Name: RxWebKit
Owner: RxSwift Community
Description: RxWebKit is a RxSwift wrapper for WebKit
Created: 2016-02-12 13:26:15.0
Updated: 2018-05-04 23:38:58.0
Pushed: 2018-03-04 10:19:40.0
Homepage: null
Size: 85
Language: Swift
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
RxWebKit is a RxSwift wrapper for WebKit
.
ARK: Setup WKWebView
webView = WKWebView(frame: self.view.bounds)
.view.addSubview(webView)
ARK: Observing properties
iew.rx.title
.subscribe(onNext: {
print("title: \($0)")
})
.disposed(by: disposeBag)
iew.rx.url
.subscribe(onNext: {
print("URL: \($0)")
})
.disposed(by: disposeBag)
Add to Podfile
:
'RxWebKit'
Add to Cartfile
:
ub "RxSwiftCommunity/RxWebKit"
Run carthage update --platform iOS
Add run script build phase /usr/local/bin/carthage copy-frameworks
with input files being:
CROOT)/carthage/Build/iOS/RxWebKit.framework
RxWebKit requires Swift 4.0 and dedicated versions of RxSwift 4.0.0-beta.0
MIT