Skip to content

Commit

Permalink
Add support swift package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ngochiencse committed Jun 6, 2021
1 parent 9565414 commit f007484
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
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.4.0

import PackageDescription

let package = Package(
name: "HPParallaxHeader",
platforms: [ .iOS(.v10)],
products: [
.library(
name: "HPParallaxHeader",
targets: ["HPParallaxHeader"]),
],
dependencies: [
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "HPParallaxHeader",
dependencies: [],
path: "HPParallaxHeader",
publicHeadersPath: ".")
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You can use [Swift Package Manager](https://swift.org/package-manager/) direct

```swift
dependencies: [
.package(url: "https://github.com/mexp/HPParallaxHeader", .upToNextMajor(from: "1.1.0"))
.package(url: "https://github.com/ngochiencse/HPParallaxHeader", .upToNextMajor(from: "1.1.4"))
]
```

Expand Down

0 comments on commit f007484

Please sign in to comment.