Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit d4b369a

Browse files
yeneluispadron
authored andcommitted
Added Swift Package (#212)
1 parent 37fcd2f commit d4b369a

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

Package.swift

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// swift-tools-version:5.1
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "UICircularProgressRing",
7+
platforms: [.iOS(.v8)],
8+
products: [
9+
.library(
10+
name: "UICircularProgressRing",
11+
targets: ["UICircularProgressRing"]),
12+
],
13+
dependencies: [
14+
],
15+
targets: [
16+
.target(
17+
name: "UICircularProgressRing",
18+
dependencies: [],
19+
path: "src/UICircularProgressRing"),
20+
]
21+
)

src/UICircularProgressRing/Extensions.swift

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* This file includes internal extensions.
1111
*/
1212

13+
import UIKit
14+
1315
/// Helper extension to allow removing layer animation based on AnimationKeys enum
1416
extension CALayer {
1517
func removeAnimation(forKey key: UICircularRing.AnimationKeys) {

src/UICircularProgressRing/UICircularRingValueFormatter.swift

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import Foundation
10+
import UIKit
1011

1112
// MARK: UICircularRingValueFormatter
1213

0 commit comments

Comments
 (0)