TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2016 |
SPMSupports SPM | ✗ |
Depends on: | |
UpperNotificationController | ~> 0.1.0 |
EasyPeasy | >= 0 |
GCDKit | >= 0 |
ModernUpperNotificationView is simple notification view. powered by UpperNotificationController
let notificationController = UpperNotificationController()
notificationController.windowLevel = UIWindowLevelStatusBar
let notification = NotificationContext<ModernUpperNotificationView> {
let view = ModernUpperNotificationView(
text: "Failure...",
iconImage: UIImage(named: "OvalRed")!,
tap: {
print("tap: failure")
})
return view
}
notificationController.deliver(notification: notification)
iOS 8.0 +
ModernUpperNotificationView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ModernUpperNotificationView"
muukii, [email protected]
ModernUpperNotificationView is available under the MIT license. See the LICENSE file for more info.