diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..2dc0989 --- /dev/null +++ b/Package.swift @@ -0,0 +1,22 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "UICollectionViewRightAlignedLayout", + platforms: [.iOS(.v13)], + products: [ + .library( + name: "UICollectionViewRightAlignedLayout", + targets: ["UICollectionViewRightAlignedLayout"]), + ], + targets: [ + .target( + name: "UICollectionViewRightAlignedLayout", + dependencies: [], + path: "UICollectionViewRightAlignedLayout", + publicHeadersPath: "include" + ) + ] +) diff --git a/UICollectionViewRightAlignedLayout/UICollectionViewRightAlignedLayout.m b/UICollectionViewRightAlignedLayout/Sources/UICollectionViewRightAlignedLayout.m similarity index 100% rename from UICollectionViewRightAlignedLayout/UICollectionViewRightAlignedLayout.m rename to UICollectionViewRightAlignedLayout/Sources/UICollectionViewRightAlignedLayout.m diff --git a/UICollectionViewRightAlignedLayout/UICollectionViewRightAlignedLayout.h b/UICollectionViewRightAlignedLayout/include/UICollectionViewRightAlignedLayout.h similarity index 100% rename from UICollectionViewRightAlignedLayout/UICollectionViewRightAlignedLayout.h rename to UICollectionViewRightAlignedLayout/include/UICollectionViewRightAlignedLayout.h