Skip to content

Commit

Permalink
Merge pull request #6 from ftp27/master
Browse files Browse the repository at this point in the history
resolved #5 Swift package
  • Loading branch information
pedrommcarrasco authored Oct 5, 2019
2 parents de59988 + 2d3a109 commit 86ae106
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Hover",
platforms: [
.iOS(.v11),
],
products: [
.library(
name: "Hover",
targets: ["Hover"]),
],
dependencies: [],
targets: [
.target(
name: "Hover",
dependencies: [],
path: "Hover"),
]
)
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ And then run the following command in terminal:
carthage update
```

## Swift Package Manager

To include Hover into a Swift Package Manager package, add it to the `dependencies` attribute defined in your `Package.swift` file. For example:
```
dependencies: [
.package(url: "https://github.com/pedrommcarrasco/Hover.git", from: <version>),
]
```

# ⌨️ Usage Example
After installing **Hover**, you should start by importing the framework:

Expand Down

0 comments on commit 86ae106

Please sign in to comment.