From bc74b34842a6639ec82a5e672f02ecab0991d3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Thu, 4 Apr 2019 16:40:41 +0200 Subject: [PATCH 1/2] Add basic SwiftPM manifest file --- Package.swift | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..a147bc7 --- /dev/null +++ b/Package.swift @@ -0,0 +1,16 @@ +// swift-tools-version:4.2 +import PackageDescription + +let package = Package( + name: "Spring", + // platforms: [.iOS("8.0"), tvOS("11.0")], + products: [ + .library(name: "Spring", targets: ["Spring"]) + ], + targets: [ + .target( + name: "Spring", + path: "Spring" + ) + ] +) From 67ab5c1750e1ebf9ac84938677728a1d050e8640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Thu, 4 Apr 2019 18:13:33 +0200 Subject: [PATCH 2/2] [README] Document installation via Accio --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 34f1430..66a4eed 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ use_frameworks! pod 'Spring', :git => 'https://github.com/MengTo/Spring.git' ``` +Or via [Accio](https://github.com/JamitLabs/Accio): +```swift +.package(url: "https://github.com/MengTo/Spring.git", .upToNextMajor(from: "1.0.5")), +``` + ## Usage with Storyboard In Identity Inspector, connect the UIView to SpringView Class and set the animation properties in Attribute Inspector.