Skip to content

Commit

Permalink
Add Swift Package Manager (SPM) support (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jan 17, 2023
2 parents be49dd2 + 55ef741 commit 9cd5687
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "UICollectionViewLeftAlignedLayout",
platforms: [.iOS(.v13)],
products: [
.library(
name: "UICollectionViewLeftAlignedLayout",
targets: ["UICollectionViewLeftAlignedLayout"]),
],
dependencies: [],
targets: [
.target(
name: "UICollectionViewLeftAlignedLayout",
dependencies: [],
path: "UICollectionViewLeftAlignedLayout",
exclude: ["Info.plist"],
publicHeadersPath: "include"
)
]
)
21 changes: 19 additions & 2 deletions UICollectionViewLeftAlignedLayout.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
63F15DE32926767F00D5FFA0 /* include */ = {
isa = PBXGroup;
children = (
CE70D2CE1C5D982A00C57988 /* UICollectionViewLeftAlignedLayout.h */,
);
path = include;
sourceTree = "<group>";
};
63F15DE42926778600D5FFA0 /* Sources */ = {
isa = PBXGroup;
children = (
CE70D2D61C5D988900C57988 /* UICollectionViewLeftAlignedLayout.m */,
);
path = Sources;
sourceTree = "<group>";
};
CE70D2C11C5D982A00C57988 = {
isa = PBXGroup;
children = (
Expand All @@ -48,8 +64,8 @@
CE70D2CD1C5D982A00C57988 /* UICollectionViewLeftAlignedLayout */ = {
isa = PBXGroup;
children = (
CE70D2D61C5D988900C57988 /* UICollectionViewLeftAlignedLayout.m */,
CE70D2CE1C5D982A00C57988 /* UICollectionViewLeftAlignedLayout.h */,
63F15DE32926767F00D5FFA0 /* include */,
63F15DE42926778600D5FFA0 /* Sources */,
CE70D2D01C5D982A00C57988 /* Info.plist */,
);
path = UICollectionViewLeftAlignedLayout;
Expand Down Expand Up @@ -105,6 +121,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
);
mainGroup = CE70D2C11C5D982A00C57988;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit 9cd5687

Please sign in to comment.