From dccf0bc26ae178447566a39258c944f6198ebaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Sun, 31 Mar 2019 23:37:43 +0200 Subject: [PATCH 1/3] Add basic SwiftPM package manifest --- 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..6bb5c1f --- /dev/null +++ b/Package.swift @@ -0,0 +1,16 @@ +// swift-tools-version:4.2 +import PackageDescription + +let package = Package( + name: "FoldingCell", + // platforms: [.iOS("8.0")], + products: [ + .library(name: "FoldingCell", targets: ["FoldingCell"]) + ], + targets: [ + .target( + name: "FoldingCell", + path: "FoldingCell/FoldingCell" + ) + ] +) From 73df4df3c5180a303dd4a919be7563d2bcb62723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Mon, 1 Apr 2019 17:35:50 +0200 Subject: [PATCH 2/3] [README] Add 'Accio supported' badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7565ad4..8bb2339 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,8 @@ ___ [![Travis](https://img.shields.io/travis/Ramotion/folding-cell.svg)](https://travis-ci.org/Ramotion/folding-cell) [![codebeat badge](https://codebeat.co/badges/6f67da5d-c416-4bac-9fb7-c2dc938feedc)](https://codebeat.co/projects/github-com-ramotion-folding-cell) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) -[![Swift 4.0](https://img.shields.io/badge/Swift-5.0-green.svg?style=flat)](https://developer.apple.com/swift/) +[![Accio supported](https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat)](https://github.com/JamitLabs/Accio) +[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-green.svg?style=flat)](https://developer.apple.com/swift/) [![Analytics](https://ga-beacon.appspot.com/UA-84973210-1/ramotion/folding-cell)](https://github.com/igrigorik/ga-beacon) [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/Ramotion) From bc3dc2c2f2e144d1675c1f277adf0b221ac28684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Thu, 4 Apr 2019 17:49:08 +0200 Subject: [PATCH 3/3] [README] Document installation via Accio + Remove redundant hint --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8bb2339..4556223 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,10 @@ or [Carthage](https://github.com/Carthage/Carthage) users can simply add Mantle ``` github "Ramotion/folding-cell" ``` - -or just drag and drop FoldingCell.swift file to your project +or use [Accio](https://github.com/JamitLabs/Accio) with Package.swift: +```swift +.package(url: "https://github.com/Ramotion/folding-cell.git", .upToNextMajor(from: "5.0.0")), +``` ## Solution ![Solution](https://raw.githubusercontent.com/Ramotion/folding-cell/master/Tutorial-resources/Solution.png)