You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,31 +42,15 @@ open class FHDiffableTableViewController<SectionIdentifierType, ItemIdentifierTy
42
42
43
43
// MARK: - Public Properties
44
44
45
-
/// The data source for the table view.
46
-
///
47
-
/// Override this property only if you want to apply your custom **UITableViewDiffableDataSource**. For cell configuration overried the `cellProvider` property.
48
-
///
49
-
/// lazy var customDataSource = CustomDataSource(tableView: tableView, cellProvider: cellProvider)
50
-
///
51
-
/// override var dataSource: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> {
52
-
/// return customDataSource
53
-
/// }
54
-
///
55
-
/// - important: You need to use a lazy var for it to work properly!
/// Override this property only if a custom **UITableViewDiffableDataSource** should be applied. For cell configuration overried the `cellProvider` property.
69
+
///
70
+
/// lazy var customDataSource = CustomDataSource(tableView: tableView, cellProvider: cellProvider)
71
+
///
72
+
/// override var dataSource: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> {
73
+
/// return customDataSource
74
+
/// }
75
+
///
76
+
/// - important: You need to use a lazy var for it to work properly!
/// This method applys a new snapshot to the table view.
86
85
///
87
86
/// This is the equivalent for `reloadData()` or `performBatchUpdates(_:)`
88
87
///
89
-
/// With the `animatingDifferences`parameter you can disable the updating animation. If you want to have a different one you have to change this property:
88
+
/// With the `animatingDifferences`parameter the update animation can be disabled. For a different animation this property needs to be modified:
90
89
///
91
90
/// dataSource.defaultRowAnimation = .automatic
92
91
///
@@ -110,7 +109,7 @@ open class FHDiffableTableViewController<SectionIdentifierType, ItemIdentifierTy
0 commit comments