Skip to content

Commit

Permalink
Merge pull request #23 from telip007/master
Browse files Browse the repository at this point in the history
Add support for SPM
  • Loading branch information
gonzalonunez committed Mar 11, 2021
2 parents 361c370 + 07d247f commit 526fd26
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// 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: "Skeleton",
platforms: [
.iOS(.v9)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "Skeleton",
targets: ["Skeleton"]),
],
dependencies: [],
targets: [
.target(
name: "Skeleton",
dependencies: [],
path: "Skeleton")
],
swiftLanguageVersions: [.v5]
)
1 change: 1 addition & 0 deletions Skeleton/GradientPoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import CoreGraphics

/// Represents a valid point for a CAGradientLayer's `startPoint` or `endPoint` when beginning or ending a slide.
struct GradientPoint {
Expand Down

0 comments on commit 526fd26

Please sign in to comment.