https://github.com/muukii/modernuppernotificationview
ModernUpperNotificationView is simple notification view - powered by
https://github.com/muukii/modernuppernotificationview
Last synced: about 2 months ago
JSON representation
ModernUpperNotificationView is simple notification view - powered by
- Host: GitHub
- URL: https://github.com/muukii/modernuppernotificationview
- Owner: muukii
- Created: 2016-07-05T17:39:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-23T04:23:20.000Z (over 8 years ago)
- Last Synced: 2025-02-28T07:32:16.450Z (2 months ago)
- Language: Swift
- Homepage: https://github.com/muukii/UpperNotificationController
- Size: 2.53 MB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ModernUpperNotificationView
[](https://travis-ci.org/muukii/ModernUpperNotificationView)
[](http://cocoapods.org/pods/ModernUpperNotificationView)
[](http://cocoapods.org/pods/ModernUpperNotificationView)
[](http://cocoapods.org/pods/ModernUpperNotificationView)ModernUpperNotificationView is simple notification view.
powered by [UpperNotificationController](https://github.com/muukii/UpperNotificationController)


## Example
```swift
let notificationController = UpperNotificationController()
notificationController.windowLevel = UIWindowLevelStatusBarlet notification = NotificationContext {
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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "ModernUpperNotificationView"
```## Author
muukii, [email protected]
## License
ModernUpperNotificationView is available under the MIT license. See the LICENSE file for more info.