Skip to content

Commit

Permalink
Merge pull request #26 from Wei18/master
Browse files Browse the repository at this point in the history
[Add] Package.swift to support Swift Package Manager
  • Loading branch information
riteshhgupta authored Apr 8, 2023
2 parents c8a1437 + 3c3b4d1 commit ffd3413
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
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.

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

import PackageDescription

let package = Package(
name: "TagCellLayout",
platforms: [
.iOS(.v11)
],
products: [
.library(name: "TagCellLayout", targets: ["TagCellLayout"])
],
targets: [
.target(
name: "TagCellLayout",
path: "Source"
)
]
)
2 changes: 1 addition & 1 deletion Source/LayoutAlignment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import UIKit

public extension TagCellLayout {

public enum LayoutAlignment: Int {
enum LayoutAlignment: Int {

case left
case center
Expand Down

0 comments on commit ffd3413

Please sign in to comment.