RxSwiftCommunity/RxWebKit

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RxWebKit

RxWebKit is a RxSwift wrapper for WebKit.

Carthage compatible Version License Platform

Example Usages
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)
Installation
CocoaPods

Add to Podfile:

'RxWebKit'
Carthage

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
Requirements

RxWebKit requires Swift 4.0 and dedicated versions of RxSwift 4.0.0-beta.0

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.