https://github.com/rafattouqir/rrnotificationbar
iOS 10 like notification bar designed for in-app notification message showing for iOS 10 and below versions.
https://github.com/rafattouqir/rrnotificationbar
ios ios-animation ios-sdk ios-swift ios-ui notification swift swift-3 swift3
Last synced: 12 months ago
JSON representation
iOS 10 like notification bar designed for in-app notification message showing for iOS 10 and below versions.
- Host: GitHub
- URL: https://github.com/rafattouqir/rrnotificationbar
- Owner: rafattouqir
- License: mit
- Created: 2017-02-07T07:11:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-10T11:03:13.000Z (almost 3 years ago)
- Last Synced: 2025-04-13T14:08:09.204Z (about 1 year ago)
- Topics: ios, ios-animation, ios-sdk, ios-swift, ios-ui, notification, swift, swift-3, swift3
- Language: Swift
- Homepage:
- Size: 5.16 MB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## RRNotificationBar [](https://github.com/rafattouqir/RRNotificationBar)
> iOS 10 like notification bar.
**iOS 10** like notification bar designed for in-app notification messages showing for iOS 10 and below versions. In iOS 9~10, it can be used to show after an in-app remote notification is received and for multiple purposes.

## Installation
#### CocoaPods:
`pod 'RRNotificationBar'`
#### Manually:
Drag the `RRNotificationBar/RRNotificationBar.swift` file into your project.
## Example
**Show**
```swift
RRNotificationBar().show(title: "Awesome Title", message: "Cool message received",onTap:{
print("tapped")
})
```
**Hide**
>Though it hides automatically,you can force hide it.
```swift
let notificationBar = RRNotificationBar()
//after showing,hide if needed before timeout
notificationBar.hide()
```
## License
[MIT LICENSE](LICENSE.md)
To the extent possible under law, [RAFAT](mailto:rafsun.ra@gmail.com) has waived all copyright and related or neighboring rights to this work.