From 8b07d0cbde0f10aecd3de8284c9c48bb66358d19 Mon Sep 17 00:00:00 2001 From: Stanislav Kaluzhnyi Date: Wed, 7 Sep 2016 17:22:52 +0400 Subject: [PATCH] Collection view's reload data has been changed to reload sections --- .../DataSources/RxCollectionViewReactiveArrayDataSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift b/RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift index 1cbf5825..46b368c7 100644 --- a/RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift +++ b/RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift @@ -101,7 +101,7 @@ class RxCollectionViewReactiveArrayDataSource func collectionView(_ collectionView: UICollectionView, observedElements: [Element]) { self.itemModels = observedElements - collectionView.reloadData() + collectionView.reloadSections(NSIndexSet(index: 0)) } }