I'm trying to migrate my project to Swift 3. I am using ReactiveKit and Bond and I am struggling with some conversions.
1) Most of my extensions used to look like this:
extension UIView {
public var bnd_superview: Observable<UIView?> {
return bnd_associatedObservableForValueForKey("superview")
}
I can't find what bnd_associatedObservableForValueForKey
was changed to.
2) I have the following code:
self.myButton.bnd_selected.next(false)
it should change to:
self.myButton.reactive.isSelected.next(false)
but I get the following error:
Value of type 'Bond' has no member 'next'