File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed
AlignedCollectionViewFlowLayout/Classes Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ open class AlignedCollectionViewFlowLayout: UICollectionViewFlowLayout {
124
124
default :
125
125
break
126
126
}
127
+ @unknown default :
128
+ fatalError ( " Unknown orientation " )
127
129
}
128
130
129
131
// It's safe to force-unwrap as `.leading` and `.trailing` are covered
Original file line number Diff line number Diff line change 1
- // swift-tools-version:4.2
1
+ // swift-tools-version: 6.0
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
2
4
import PackageDescription
3
5
4
6
let package = Package (
5
7
name: " AlignedCollectionViewFlowLayout " ,
6
8
products: [
7
- . library( name: " AlignedCollectionViewFlowLayout " , targets: [ " AlignedCollectionViewFlowLayout " ] )
9
+ . library(
10
+ name: " AlignedCollectionViewFlowLayout " ,
11
+ targets: [ " AlignedCollectionViewFlowLayout " ] )
8
12
] ,
9
13
targets: [
10
14
. target(
11
15
name: " AlignedCollectionViewFlowLayout " ,
12
- path: " AlignedCollectionViewFlowLayout "
13
- )
16
+ path: " AlignedCollectionViewFlowLayout " )
14
17
]
15
18
)
Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 5.7
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
4
+ import PackageDescription
5
+
6
+ let package = Package (
7
+ name: " AlignedCollectionViewFlowLayout " ,
8
+ products: [
9
+ . library(
10
+ name: " AlignedCollectionViewFlowLayout " ,
11
+ targets: [ " AlignedCollectionViewFlowLayout " ] )
12
+ ] ,
13
+ targets: [
14
+ . target(
15
+ name: " AlignedCollectionViewFlowLayout " ,
16
+ path: " AlignedCollectionViewFlowLayout " )
17
+ ]
18
+ )
You can’t perform that action at this time.
0 commit comments