-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to bind it by RxCocoa #8
Comments
extension Reactive where Base: PinterestSegment {
/// Bindable sink for `titles ` property.
public var titles: Binder<[String]> {
return Binder(base) { segment, titles in
segment.titles = titles
}
}
}
|
Thanks How could I get rid of this annoying error ? |
Actually, it works
I believe the problem is that P.S.: And since I'm here, I guess I gonna throw another useful extension for future readers. 😄
|
Hi there
I want to populate PinterestSegment reactively from network but I don't know how to get that
Actually output is a transformation of input to something intelligible for the view and all of those transformation done into ViewModel :
for news which binded to tableView everything works perfectly but when I try binding services (from Service Model) to PinterstSegment , I've got an error which present in above but for the sake of integrity the error is :
Cannot invoke 'drive' with an argument list of type '([String])'
The text was updated successfully, but these errors were encountered: