- Updated to Swift 4.2 [Contributed by JoshuaKaiser]
- Add @objc annotation to public methods [Contributed by iv-mexx]
- Solved warnings related to deprecated String properties
- Updated for Swift 4.
- Update swift-version file to 4.0.
- Fixed Carthage building.
- Adds LNRNotificationQueue class to queue and display notifications.
- Adds LNRNotification to encapsulate notification content. Notifications are now triggered or queued by passing a LNRNotification.
- Notification duration is no longer a property of the LNRNotificationManager, it is a property of each LNRNotification.
- Adds Carthage Support
- Adds .swift-version.
- Adds Swift Package Manager support.
- Adds Swift 3 support.
- Fixed notification width error on iPad in multi-window mode. [Contributed by moshegutman]
- Adds missing
use_frameworks!
declaration in Demo project Podfile.
- LNRNotificationManager and LNRNotificationView now use parameter name onTap to refer to the on tap callback for notofications rather than the poorly-named callback. In the interface this slightly modifies the parameters of the LNRNotificationView
init:title:body:icon:duration:onTap:position:notificationManager:
and the LNRNotificationManagershowNotification:title:body:onTap:
methods. - Demo app now uses LNRSimpleNotifications Pod rather than direct inclusion of the project files.
- No long adds extra padding equal to status bar height when showing notifications from the top position when the status bar is hidden. [Contributed by jkennington]
- LNRSimpleNotifications class renamed LNRNotificationManager.
- LNRSimpleNotificationView class renamed LNRNotificationView.
- LNRSimpleNotifications/LNRNotificationManager is no longer a singleton - you can create multiple notification managers, each with a different theme, to display notifications.
- Sample project updated to demonstrate the use of two notification managers with different themes.
- Icon vertical positioning is now properly centered. Thanks Chris Akring for submitting this fix!
- Title label width now respects presence of icon instead of overflowing off the right side of the screen. Thanks Markus Chemelar for submitting this fix!
- The background of Notifications displayed from the top of the screen has been extended all the way to the top of the screen, rather than leaving a 20px (@1x) gap for the status bar.
- Class LNRSimpleNotifications now inherits from NSObject.
- Updated to Swift 2.0.
- Left side Icon padding in notifications reduced from 2 * padding default to just the padding default. [Contributed by pkurzok]
- LISNRSimpleNotifications now explicitly displays notifications using main thread.