Last active
December 17, 2015 14:19
-
-
Save sergdort/f637d8a4d5adf0d57e49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RxTableViewCell<ViewModelType>: UITableViewCell, BindableView { | |
typealias V = ViewModelType | |
let onPrepareForReuse:Observable<Void> = PublishSubject() | |
var rx_viewModel: AnyObserver<V> { | |
return AnyObserver { event in | |
// This is base class implementation | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment