Skip to content

NotificationBanner Release v1.4.0

Compare
Choose a tag to compare
@Daltron Daltron released this 25 Jun 04:01
· 282 commits to master since this release

Changes:

Banners can now be shown from the bottom

If you are wanting to show a banner from the bottom, simply:

banner.show(bannerPosition: .bottom)

All existing properties that the show function takes can be mixed and matched to work flawlessly with each other!
Closes #31 🎉
Thanks @scottcc! 👍

Banner Events

You can choose to opt into a notification banner's events by registering as its delegate:

banner.delegate = self

Then just make sure to implement the following methods:

internal func notificationBannerWillAppear(_ banner: BaseNotificationBanner)
internal func notificationBannerDidAppear(_ banner: BaseNotificationBanner)
internal func notificationBannerWillDisappear(_ banner: BaseNotificationBanner)
internal func notificationBannerDidDisappear(_ banner: BaseNotificationBanner)

Closes #32 🎉
Thanks @Marlon-Monroy! 👍

New CocoaPods Release: v1.4.0 ✅