File tree Expand file tree Collapse file tree
AlignedCollectionViewFlowLayout/Classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ open class AlignedCollectionViewFlowLayout: UICollectionViewFlowLayout {
124124 default :
125125 break
126126 }
127+ @unknown default :
128+ fatalError ( " Unknown orientation " )
127129 }
128130
129131 // 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+
24import PackageDescription
35
46let package = Package (
57 name: " AlignedCollectionViewFlowLayout " ,
68 products: [
7- . library( name: " AlignedCollectionViewFlowLayout " , targets: [ " AlignedCollectionViewFlowLayout " ] )
9+ . library(
10+ name: " AlignedCollectionViewFlowLayout " ,
11+ targets: [ " AlignedCollectionViewFlowLayout " ] )
812 ] ,
913 targets: [
1014 . target(
1115 name: " AlignedCollectionViewFlowLayout " ,
12- path: " AlignedCollectionViewFlowLayout "
13- )
16+ path: " AlignedCollectionViewFlowLayout " )
1417 ]
1518)
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