Closed djbrooks111 closed 7 years ago
These two methods are in https://github.com/ReactiveX/RxSwift/blob/master/RxExample/RxExample/Operators.swift, but were missing from Wisdom.
This solves an error that Xcode would throw in the following example:
@IBOutlet weak var textView: UITextView! var caption = Variable("") ... textView.rx.text <-> caption // This is where Xcode would throw a "Cannot convert type" error
Use textView.rx.text.orEmpty <-> caption.
textView.rx.text.orEmpty <-> caption
@tzm41's suggestion worked. @Benuuu do we still want this PR then?
Lets drop it then
These two methods are in https://github.com/ReactiveX/RxSwift/blob/master/RxExample/RxExample/Operators.swift, but were missing from Wisdom.
This solves an error that Xcode would throw in the following example: