Utility methods to produce Observable
from RxSwift framework when authentifying with OAuthSwift.
This framework provide prefixed functions rx_
on OAuth1Swift
and OAuth2Swift
class
let observable = oauthSwift.rx.authorize(withCallbackURL: ..)
- Install Carthage (https://github.com/Carthage/Carthage)
- Create Cartfile file
github "OAuthSwift/OAuthRxSwift"
- Run
carthage update
. - On your application targets’ “General” settings tab, in the “Embedded Binaries” section, drag and drop OAuthReactiveSwift.framework from the Carthage/Build/iOS folder on disk.
- Podfile
use_frameworks!
pod 'OAuthRxSwift'