All Projects → muukii → Modernuppernotificationview

muukii / Modernuppernotificationview

ModernUpperNotificationView is simple notification view - powered by

Programming Languages

swift
15916 projects

ModernUpperNotificationView

CI Status Version License Platform

ModernUpperNotificationView is simple notification view. powered by UpperNotificationController

Example

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)

Requirements

iOS 8.0 +

Installation

ModernUpperNotificationView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ModernUpperNotificationView"

Author

muukii, [email protected]

License

ModernUpperNotificationView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].