Skip to content

Commit 812f7b4

Browse files
Mikhail Markinkzaher
authored andcommitted
.swift-version file removed.
Minor comments update.
1 parent e0af2d1 commit 812f7b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/RxDataSources/RxCollectionViewSectionedAnimatedDataSource.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ open class RxCollectionViewSectionedAnimatedDataSource<S: AnimatableSectionModel
7373

7474
switch self.decideViewTransition(self, collectionView, differences) {
7575
case .animated:
76-
// each difference must be run in a separate performBatchUpdate, otherwise it crashes.
76+
// each difference must be run in a separate 'performBatchUpdates', otherwise it crashes.
7777
// this is a limitation of Diff tool
7878
for difference in differences {
7979
collectionView.performBatchUpdates({ [unowned self] in
80-
// sections must be set within updateBlock in performBatchUpdates
80+
// sections must be set within updateBlock in 'performBatchUpdates'
8181
dataSource.setSections(difference.finalSections)
8282
collectionView.batchUpdates(difference, animationConfiguration: self.animationConfiguration)
8383
}, completion: nil)

Sources/RxDataSources/RxTableViewSectionedAnimatedDataSource.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ open class RxTableViewSectionedAnimatedDataSource<S: AnimatableSectionModelType>
9999

100100
switch self.decideViewTransition(self, tableView, differences) {
101101
case .animated:
102-
// each difference must be run in a separate performBatchUpdate, otherwise it crashes.
102+
// each difference must be run in a separate 'performBatchUpdates', otherwise it crashes.
103103
// this is a limitation of Diff tool
104104
for difference in differences {
105105
let updateBlock = { [unowned self] in
106-
// sections must be set within updateBlock in performBatchUpdates
106+
// sections must be set within updateBlock in 'performBatchUpdates'
107107
dataSource.setSections(difference.finalSections)
108108
tableView.batchUpdates(difference, animationConfiguration: self.animationConfiguration)
109109
}

0 commit comments

Comments
 (0)