diff --git a/Package.swift b/Package.swift new file mode 100644 index 00000000..82d730f4 --- /dev/null +++ b/Package.swift @@ -0,0 +1,16 @@ +// swift-tools-version:4.2 +import PackageDescription + +let package = Package( + name: "RAMAnimatedTabBarController", + // platforms: [.iOS("9.0")], + products: [ + .library(name: "RAMAnimatedTabBarController", targets: ["RAMAnimatedTabBarController"]) + ], + targets: [ + .target( + name: "RAMAnimatedTabBarController", + path: "RAMAnimatedTabBarController" + ) + ] +) diff --git a/README.md b/README.md index 00b4a4d0..db2e11a9 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ ___ [![CocoaPods](https://img.shields.io/cocoapods/p/RAMAnimatedTabBarController.svg)](http://cocoapods.org/pods/RAMAnimatedTabBarController) [![CocoaPods](https://img.shields.io/cocoapods/v/RAMAnimatedTabBarController.svg)](http://cocoapods.org/pods/RAMAnimatedTabBarController) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Ramotion/animated-tab-bar) +[![Accio supported](https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat)](https://github.com/JamitLabs/Accio) [![Swift 4.0](https://img.shields.io/badge/Swift-4.0-green.svg?style=flat)](https://developer.apple.com/swift/) [![Twitter](https://img.shields.io/badge/Twitter-@Ramotion-blue.svg?style=flat)](http://twitter.com/Ramotion) [![Travis](https://img.shields.io/travis/Ramotion/animated-tab-bar.svg)](https://travis-ci.org/Ramotion/animated-tab-bar) @@ -51,6 +52,10 @@ github "Ramotion/animated-tab-bar" ``` +or [Accio](https://github.com/JamitLabs/Accio) users can simply add to their `Package.swift`: +```swift +.package(url: "https://github.com/Ramotion/animated-tab-bar.git", .upToNextMajor(from: "5.0.0")), +``` ## Usage