Now that there's a full support for KVO, has anybody made a mutable table view that takes a RACSignal as its dataSource? Ideally something that doesn't require any configuration.
RACSignal *commentsSignal;
UITableView *table = [UITableView new];
table.dataSourceSignal = commentsSignal;
[self.view addSubview:table];
// No more basic config
Yes, I have created a 'binding helper' that binds a table view to a signal:
http://www.scottlogic.com/blog/2014/05/11/reactivecocoa-tableview-binding.html
You can use it to bind a signal to table view where the cell is defined in a nib, as shown below:
In the above example the table view is bond to an
NSArray
property on a view model viaRACObserve(self.viewModel, searchResults)
, however anyRACSignal
that emits an array will bind just fine.