mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-16 05:56:50 +01:00
WIP
This commit is contained in:
@@ -241,13 +241,13 @@ extension DiffableDataSource {
|
||||
self.base?.moveRow(at: indexPath, to: newIndexPath)
|
||||
}
|
||||
|
||||
public func performBatchUpdates(updates: () -> Void, animated: Bool) {
|
||||
public func performBatchUpdates(updates: () -> Void, animated: Bool, completion: @escaping () -> Void) {
|
||||
|
||||
guard let base = self.base else {
|
||||
|
||||
return
|
||||
}
|
||||
base.performBatchUpdates(updates)
|
||||
base.performBatchUpdates(updates, completion: { _ in completion() })
|
||||
}
|
||||
|
||||
public func reloadData() {
|
||||
|
||||
Reference in New Issue
Block a user