From 953c9a53d05ed7b61ae50a476758a97b7291da0a Mon Sep 17 00:00:00 2001 From: Lucas Zischka <63545066+LucasMucGH@users.noreply.github.com> Date: Tue, 3 Aug 2021 12:20:33 +0200 Subject: [PATCH] Add pod install --- BottomSheet.podspec | 16 ++++++++++++++++ CHANGELOG.md | 1 + README.md | 10 ++++++++++ 3 files changed, 27 insertions(+) create mode 100644 BottomSheet.podspec diff --git a/BottomSheet.podspec b/BottomSheet.podspec new file mode 100644 index 000000000..b5e04fe97 --- /dev/null +++ b/BottomSheet.podspec @@ -0,0 +1,16 @@ +Pod::Spec.new do |s| + s.name = 'BottomSheet' + s.version = '2.4.0' + s.summary = 'A sliding Sheet from the bottom of the Screen with 3 States build with SwiftUI.' + + s.homepage = 'https://github.com/LucasMucGH/BottomSheet' + s.license = { :type => 'MIT', :file => 'LICENSE.txt' } + s.author = { 'Lucas Zischka' => 'spiele.lucas@gmail.com' } + s.source = { :git => 'https://github.com/LucasMucGH/BottomSheet.git', :tag => s.version.to_s } + + s.ios.deployment_target = '13.0' + s.swift_version = '5.3' + + s.weak_frameworks = 'SwiftUI' + s.source_files = 'Sources/BottomSheet/**/*' +end diff --git a/CHANGELOG.md b/CHANGELOG.md index f1505fa08..00d1a23dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ BottomSheet Changelog #### v2.4.0 - Add option to enable shadow +- Add pod install #### v2.3.0 - Fix compile for iOS 15 and Xcode 13 #19 #20 diff --git a/README.md b/README.md index e68293630..1783b1f31 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ There are also many implementations out there that **only have 2 states** - **no ## Installation +### Swift Package Manager + The preferred way of installing BottomSheet is via the [Swift Package Manager](https://swift.org/package-manager/). >Xcode 11 integrates with libSwiftPM to provide support for iOS, watchOS, and tvOS platforms. @@ -41,6 +43,14 @@ The preferred way of installing BottomSheet is via the [Swift Package Manager](h 3. For **Rules**, select **Branch** (with branch set to `main`). 4. Click **Finish**. +### CocoaPods + +BottomSheet is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: + +```ruby +pod 'BottomSheet' +``` + ## Usage **WARNING:**