I am very new in RxSwift so question maybe a little strange: I need to observe change in UIWebView.request. At first it is nil so need to catch when it get any assign. I tried:
myWebView.rx.observe(URLRequest.self, #keyPath(UIWebView.request) .subscribe { print ($0) }
Nothing. Got at first next(nil). and never call it again.
I tried:
myWebView.rx.observe(URLRequest.self, #keyPath(RUIWebView.request), options: [.new, .initial], retainSelf: true)
Also nothing.
thanks.