Skip to content

Commit

Permalink
Merge pull request #24 from squarefrog/spm
Browse files Browse the repository at this point in the history
Add Swift Package Manager support
  • Loading branch information
caddeo authored Aug 28, 2023
2 parents 15654f0 + 544c855 commit f2da43b
Show file tree
Hide file tree
Showing 2 changed files with 30 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.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "QueueITLibrary",
platforms: [
.iOS(.v11)
],
products: [
.library(
name: "QueueITLibrary",
targets: ["QueueITLibrary"]),
],
targets: [
.target(
name: "QueueITLibrary",
path: "QueueItLib/",
publicHeadersPath: ""
)
]
)
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ Then, run the following command:
pod install
```

## Swift Package Manager

1. In Xcode, select File > Add Packages
2. For the URL, paste in `https://github.com/queueit/ios-webui-sdk.git`
3. Configure how you'd like to track changes, and add to your project
4. Finally, click Add Package

## Usage

We have a repository with a demo app [here](https://github.com/queueit/ios-demo-app "iOS demo app"), but you can get the basic idea of how to use the library in the following example.
Expand Down

0 comments on commit f2da43b

Please sign in to comment.