Skip to content

Commit

Permalink
Support for Swift Package Manager (#228)
Browse files Browse the repository at this point in the history
* Update Package.swift

Specify platforms in Package.swift

* Update Package.swift

Change from swift 4.2 version to 5.1

* Update AnimationConfiguration.swift

To solve "Use of undeclared type 'CGFloat'; did you mean to use 'CGFloat'?" error

* Apply suggestions from code review

Co-authored-by: Jochen Pfeiffer <[email protected]>
  • Loading branch information
jaimefere and jjochen committed Feb 28, 2020
1 parent d7a84c5 commit e1cba26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
// swift-tools-version:4.2
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "JJFloatingActionButton",
platforms: [
.iOS(.v9)
],
products: [
.library(
name: "JJFloatingActionButton",
targets: ["JJFloatingActionButton"]),
],
dependencies: [
],
targets: [
.target(
name: "JJFloatingActionButton",
Expand Down
2 changes: 1 addition & 1 deletion Sources/AnimationConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// THE SOFTWARE.
//

import Foundation
import UIKit

// MARK: - JJAnimationSettings

Expand Down

0 comments on commit e1cba26

Please sign in to comment.