Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Swift Package Manager support #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
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.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription

let package = Package(
name: "ALFormInput",
platforms: [.iOS(.v9)],
products: [
.library(
name: "ALFormInput",
targets: ["ALFormInput"]),
],
targets: [
.target(
name: "ALFormInput",
dependencies: [],
path: "ALFormInput")
]
)
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ To run the example project, clone the repo, and run `pod install` from the Examp

## Installation

## Swift Package Manager

Once you have your Swift package set up, adding ALFormInput as a dependency is as easy as adding it to the dependencies value of your Package.swift.
```
dependencies: [
.package(url: "https://github.com/applogistdev/ALFormInput.git", from: "'0.2.7")
]
```

### Cocoapods
ALFormInput is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:

Expand Down