I want to use ReactiveSwift.
- Podfile
pod 'ReactiveCocoa', '~> 6.0'
$ pod install
ViewController.swift:
import UIKit
import ReactiveSwift
class ViewController: UIViewController {
@IBOutlet fileprivate weak var button: UIButton!
override func viewDidLoad() {
button.reactive.xxx { ... }
}
}
I have only this error, so I can run when I comment out button.reactive.xxx { ... }
.
Tank you.