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:
// create a cell template
UINib *nib = [UINib nibWithNibName:@"CETweetTableViewCell" bundle:nil];
// bind the ViewModels 'searchResults' property to a table view
[CETableViewBindingHelper bindingHelperForTableView:self.searchResultsTable
sourceSignal:RACObserve(self.viewModel, searchResults)
templateCell:nib];
In the above example the table view is bond to an NSArray
property on a view model via RACObserve(self.viewModel, searchResults)
, however any RACSignal
that emits an array will bind just fine.