Skip to content

Commit

Permalink
Add pod install
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaszischka committed Aug 3, 2021
1 parent 95583e5 commit 953c9a5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions BottomSheet.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:**
Expand Down

0 comments on commit 953c9a5

Please sign in to comment.