diff --git a/README.md b/README.md index 58473ff..cfcd35a 100755 --- a/README.md +++ b/README.md @@ -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 @@ -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: