CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

ModernUpperNotificationView 0.2.0

ModernUpperNotificationView 0.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by muukii, muukii.



 
Depends on:
UpperNotificationController~> 0.1.0
EasyPeasy>= 0
GCDKit>= 0
 


ModernUpperNotificationView

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.