Utility methods to produce SignalProducer
from ReactiveSwift framework when authentifying with OAuthSwift.
This framework provide prefixed functions rac_
on OAuth1Swift
and OAuth2Swift
class
let signalResult = oauthSwift.rac_authorize(...
signalResult.producer // The `SignalProducer`
- Install Carthage (https://github.com/Carthage/Carthage)
- Create Cartfile file
github "OAuthSwift/OAuthReactiveSwift"
- 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 'OAuthReactiveSwift'