Merge pull request #17 from TwoDollarsEsq/master

Support of Swift Package Manager
This commit is contained in:
Felix M
2020-01-18 09:37:47 +01:00
committed by GitHub
6 changed files with 53 additions and 3 deletions
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
@@ -6,7 +6,7 @@
// Copyright © 2019 Felix Mau. All rights reserved.
//
import Foundation
import UIKit
extension UIColor {
/// Default colors for components.
@@ -6,7 +6,7 @@
// Copyright © 2019 Felix Mau. All rights reserved.
//
import Foundation
import UIKit
import LightweightObservable
// MARK: - Types
@@ -6,7 +6,7 @@
// Copyright © 2017 Felix Mau. All rights reserved.
//
import Foundation
import UIKit
import LightweightObservable
/// This view model checks for the availability of the key-window,
+16
View File
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "LightweightObservable",
"repositoryURL": "https://github.com/fxm90/LightweightObservable",
"state": {
"branch": null,
"revision": "b689038f3dcb2564d2bc6c4f710765776d5b9356",
"version": "2.0.0"
}
}
]
},
"version": 1
}
+27
View File
@@ -0,0 +1,27 @@
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "GradientLoadingBar",
platforms: [.iOS(.v9)],
products: [
.library(
name: "GradientLoadingBar",
targets: ["GradientLoadingBar"]
)
],
dependencies: [
.package(
url: "https://github.com/fxm90/LightweightObservable",
.upToNextMajor(from: "2.0.0")
)
],
targets: [
.target(
name: "GradientLoadingBar",
dependencies: ["LightweightObservable"],
path: "GradientLoadingBar/Classes"
)
]
)