Skip to content

Commit 2b98462

Browse files
Support of Swift Package Manager (#62)
Support of Swift Package Manager
1 parent 1b31f26 commit 2b98462

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

HGCircularSlider/Classes/MidPointCircularSlider.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//
88

9+
import UIKit
10+
911
/**
1012
A visual control used to select a fixed range of values from a continuous range of values.
1113
MidPointCircularSlider use the target-action mechanism to report changes made during the course of editing:

Package.swift

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// swift-tools-version:5.0
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "HGCircularSlider",
7+
platforms: [.iOS(.v8)],
8+
products: [
9+
.library(
10+
name: "HGCircularSlider",
11+
targets: ["HGCircularSlider"]
12+
)
13+
],
14+
targets: [
15+
.target(name: "HGCircularSlider", path: "HGCircularSlider/Classes")
16+
]
17+
)

0 commit comments

Comments
 (0)