Skip to content

Commit

Permalink
Add support for SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Apr 2, 2024
1 parent 44ea317 commit bc95819
Show file tree
Hide file tree
Showing 5 changed files with 53 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.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Added
- Add support for Swift Package Manager

## [2.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion NavigationBarExtension/Classes/UIToolbar+Appearance.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Samuel Gallet on 29/01/2020.
//

import Foundation
import UIKit

extension UIToolbar {

Expand Down
14 changes: 14 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"pins" : [
{
"identity" : "adutils",
"kind" : "remoteSourceControl",
"location" : "[email protected]:faberNovel/ADUtils.git",
"state" : {
"revision" : "791ccbdb9dccff3ada11c0711f3cbcd57919292e",
"version" : "12.1.1"
}
}
],
"version" : 2
}
28 changes: 28 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// swift-tools-version:5.7

import PackageDescription

let package = Package(
name: "ADNavigationBarExtension",
platforms: [
.iOS(.v14)
],
products: [
.library(
name: "ADNavigationBarExtension",
targets: ["ADNavigationBarExtension"]
)
],
dependencies: [
.package(url: "[email protected]:faberNovel/ADUtils.git", from: "12.1.0"),
],
targets: [
.target(
name: "ADNavigationBarExtension",
dependencies: [
.product(name: "ADUtils", package: "ADUtils"),
],
path: "NavigationBarExtension/Classes"
)
]
)

0 comments on commit bc95819

Please sign in to comment.