Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ DerivedData
# `pod install` in .travis.yml
#
# Pods/
contents.xcworkspacedata
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.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "DownloadButton",
platforms: [.iOS(.v9)],
products: [
.library(
name: "DownloadButton",
targets: ["DownloadButton"]
),
],
dependencies: [],
targets: [
.target(
name: "DownloadButton",
dependencies: [],
path: "Pod/Classes/",
exclude: ["Example"]
),
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ it, simply add the following line to your Podfile:
pod "DownloadButton"
```

or starting with Xcode 11 you can add it as a [Swift package](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app).

## Author

Pavel Katunin, wk.katunin@gmail.com
Expand Down