Skip to content

Commit c9dc68c

Browse files
committed
Fix deployment target
1 parent fd8e63f commit c9dc68c

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Example/Aliases.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ typealias DiffableCollectionCellProviders = SPDiffableCollectionCellProviders
2020
typealias DiffableItem = SPDiffableItem
2121
typealias DiffableWrapperItem = SPDiffableWrapperItem
2222
typealias DiffableSection = SPDiffableSection
23+
typealias DiffableSnapshot = SPDiffableSnapshot
2324

2425
// MARK: Table models
2526

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PackageDescription
66
let package = Package(
77
name: "SPDiffable",
88
platforms: [
9-
.iOS(.v13)
9+
.iOS(.v12)
1010
],
1111
products: [
1212
// Products define the executables and libraries produced by a package, and make them visible to other packages.

Sources/SPDiffable/DataSource/SPDiffableCollectionDataSource.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ open class SPDiffableCollectionDataSource: UICollectionViewDiffableDataSource<SP
5252
- parameter sections: Array of `SPDiffableSection`, it content of table.
5353
- parameter animating: Shoud apply changes with animation or not.
5454
*/
55+
#warning("trouble with reuse, need fix")
5556
public func apply(sections: [SPDiffableSection], animating: Bool) {
5657
var snapshot = SPDiffableSnapshot()
5758
snapshot.appendSections(sections)

0 commit comments

Comments
 (0)