mirror of
https://github.com/zhigang1992/FunctionalReactivePixels.git
synced 2026-04-29 04:24:55 +08:00
Removed RACCommand from view model.
This commit is contained in:
@@ -57,7 +57,7 @@ static NSString *CellIdentifier = @"Cell";
|
||||
|
||||
// Binding to view model
|
||||
@weakify(self);
|
||||
[self.viewModel.collectionViewReloadCommand.executionSignals subscribeNext:^(id x) {
|
||||
[RACObserve(self.viewModel, photosArray) subscribeNext:^(id x) {
|
||||
@strongify(self);
|
||||
[self.collectionView reloadData];
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user