Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Daltron authored Apr 11, 2024
1 parent be52806 commit 896d5fa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ NotificationBanner is an extremely customizable and lightweight library that mak

## Installation

### Swift Package Manager

This is the preferred way. All other installation methods are officially deprecated and will no longer be supported in future versions.

1. Go to File > Add Packages
2. The Add Package dialog appears, by default with Apple packages.
3. In the upper right hand corner, paste https://github.com/Daltron/NotificationBanner into the search bar
4. Hit Return to kick off the search
5. Click Add Package.

### CocoaPods

NotificationBanner is available through [CocoaPods](http://cocoapods.org). To install
Expand Down Expand Up @@ -83,16 +93,6 @@ github "Daltron/NotificationBanner" "master"

Then add `NotificationBanner.framework` and the dependencies `SnapKit.framework` and `MarqueeLabel.framework` in your project.

### Swift Package Manager

You can also add this library as swift package manager.

1. Go to File > Add Packages
2. The Add Package dialog appears, by default with Apple packages.
3. In the upper right hand corner, paste https://github.com/Daltron/NotificationBanner into the search bar
4. Hit Return to kick off the search
5. Click Add Package.

## Usage

Creating drop down alerts with NotificationBanner is easy. To create a regular banner (with scrolling labels) and show it, simply:
Expand Down

0 comments on commit 896d5fa

Please sign in to comment.