Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Swift Package Manager v5.1 #25

Merged
merged 3 commits into from Jan 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions Package.swift
@@ -1,9 +1,13 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swift-tools-version:5.1

import PackageDescription
let package = Package(
name: "Sica",
platforms: [
.iOS(.v9),
.macOS(.v10_10),
.tvOS(.v10)
],
products: [
.library(
name: "Sica",
Expand All @@ -14,5 +18,6 @@ let package = Package(
name: "Sica",
dependencies: [],
path: "Sica/Source")
]
],
swiftLanguageVersions: [.v4_2, .v5]
)
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,7 +64,7 @@ pod 'Sica'
Sica is available through `SwiftPM`, create ` Package.swift` and add `dependencies` value
```Package.swift
dependencies: [
.package(url: "https://github.com/cats-oss/Sica.git", from: "0.4.0")
.package(url: "https://github.com/cats-oss/Sica.git", from: "0.4.1")
]
```
See also: [GitHub - j-channings/swift-package-manager-ios: Example of how to use SPM v4 to manage iOS dependencies](https://github.com/j-channings/swift-package-manager-ios)
Expand Down
2 changes: 1 addition & 1 deletion Sica.podspec
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "Sica"
s.version = "0.4.0"
s.version = "0.4.1"
s.summary = "Sica can execute various animations sequentially or parallely"
s.homepage = "https://github.com/cats-oss/Sica"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
1 change: 1 addition & 0 deletions Sica/Source/CALayer+Sica.swift
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import QuartzCore

private let _animatorAssociatedKey = UnsafeMutablePointer<UInt>.allocate(capacity: 1)

Expand Down
1 change: 1 addition & 0 deletions Sica/Source/FillMode.swift
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import QuartzCore

public struct FillMode {
#if swift(>=4.2)
Expand Down