I want to use CLLocationManager
with RxSwift
like in
https://github.com/ReactiveX/RxSwift/issues/413
but I found that CLLocationManager
extension was moved to RxExample
(mentioned here https://github.com/ReactiveX/RxSwift/issues/900).
My question is: how to use that code? When I import RxSwift
and RxCocoa
I don't have access to e.g. locationManager.rx.didUpdateLocations
. What should I do so that I can use CoreLocation
with RxSwift
?
I'm using Xcode 8, Swift 3.
Thanks in advance for your help!
Update
I found that it is recommended that for now we must just copy & paste CLLocationManager
extension from RxExample
(details here in comments of that commit).