LNRSimpleNotifications alternatives and similar libraries
Based on the "Alerts" category.
Alternatively, view LNRSimpleNotifications alternatives based on common mentions on social networks and blogs.
-
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
JDStatusBarNotification
Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC! -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
PMAlertController
PMAlertController is a great and customizable alert that can substitute UIAlertController -
Jelly
🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API. -
RMDateSelectionViewController
This is an iOS control for selecting a date using UIDatePicker in an UIAlertController like manner -
CDAlertView
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift -
CFAlertViewController
It is a highly configurable iOS library which allows easy styling with built in styles as well as extra header and footer views so that you can make extremely unique alerts and action sheets. -
Swift-Prompts
A Swift library to design custom prompts with a great scope of options to choose from. -
TTGSnackbar
TTGSnackbar shows simple message and action button on the bottom or top of the screen with multi kinds of animation, which is written in Swift3 and inspired by Snackbar in Android. It also support showing custom view, icon image or multi action button. -
RMActionController
This is an iOS control for presenting any UIView in an UIAlertController like manner -
DOAlertController
Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet) -
RMPickerViewController
This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner -
BPStatusBarAlert
BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar. -
RAlertView
AlertView, Ios popup window, A pop-up framework, Can be simple and convenient to join your project. IOS 提示框,IOS弹框,IOS弹窗 -
SnowGlobeFramework
Snow globe framework is delightful / slightly cheese easter egg for christmas season. Turns your awesome app into a snow globe, when user shake the device. -
AlertViewLoveNotification
A simple and attractive AlertView to ask permission to your users for Push Notification.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of LNRSimpleNotifications or a related project?
README
LNRSimpleNotifications
TSMessages is an amazingly powerful in-app notifications library but requires a lot of setup. LNRSimpleNotifications is a simplified version for the developer who wants beautiful in-app notifications in minutes.
How do I set it up?
We're glad you asked.
If your project is in Swift:
- Add LNRSimpleNotifications to your Podfile or Package.swift.
- Add the AudioToolbox framework to your project.
- Add import LNRSimpleNotifications in the classes you want to trigger or style your in-app notifications.
- (Optional) Style your notifications in the class managing your notification's initializer.
- There is no step Five.
If your project is in Objective-C:
- Add LNRSimpleNotifications to your Podfile.
- Add the AudioToolbox framework to your project.
- Set "Defines Modules" to Yes in your build settings.
- Import the LNRSimpleNotification module's Xcode-generated Swift header file in the classes you want to trigger and style your in-app notifications. The name of this header should be #import <LNRSimpleNotifications/LNRSimpleNotifications-Swift.h>.
- (Optional) Style your notifications in the class managing your notification's initializer.
Demo Project
To run the demo project clone the repo, and run pod install
from the Example directory first.
How do I use it?
Configure your notification styles once in your app. The init method for whatever class is triggering your in-app notifications is a good choice.
The Class Triggering Notifications
import LNRSimpleNotifications
import AudioToolbox
###
let notificationManager = LNRNotificationManager()
func init() {
super.init()
notificationManager.notificationsPosition = LNRNotificationPosition.Top
notificationManager.notificationsBackgroundColor = UIColor.whiteColor()
notificationManager.notificationsTitleTextColor = UIColor.blackColor()
notificationManager.notificationsBodyTextColor = UIColor.darkGrayColor()
notificationManager.notificationsSeperatorColor = UIColor.grayColor()
var alertSoundURL: NSURL? = NSBundle.mainBundle().URLForResource("click", withExtension: "wav")
if let _ = alertSoundURL {
var mySound: SystemSoundID = 0
AudioServicesCreateSystemSoundID(alertSoundURL!, &mySound)
notificationManager.notificationSound = mySound
}
return true
}
You can also configure an icon that will appear in your notification and set a custom font for the notification title and body.
If you don't set any theme options your notifications will default to black text on a white background with no notification sound or icon.
The Class Triggering Notifications
let notificationManager = LNRNotificationManager()
###
func methodThatTriggersNotification:(title: String, body: String) {
notificationManager.showNotification(notification: LNRNotification(title: title, body: body, duration: LNRNotificationDuration.default.rawValue, onTap: { () -> Void in
print("Notification Dismissed")
}, onTimeout: { () -> Void in
print("Notification Timed Out")
}))
}
Who's using LNRSimpleNotifications?
At the moment we know we've used it in:
We're doing more music festivals this year, so you'll see our simple yet stylish notifications in our apps a few more times this Summer and Fall.
Have you used LNRSimpleNotifications in a project? Want your app featured here? Let us know at [[email protected]]([email protected]).
Known Bugs
Since 0.1.0
- If you trigger notifications very rapidly they'll start appearing immediately instead of waiting for the one before to be dismissed before displaying. If this happens notifications will start appearing over notifications that were already on screen.
Pull Requests?
Absolutely!
About LISNR
LISNR is a startup leveraging ultrasonic audio to transmit data between devices without a network. Using our technology we have synchronized light shows on phones at concerts, triggered location-based notifications, rewarded music fans with behind-the-scenes content, delivered at-shelf product information, and made art galleries come alive.
Want to know more about LISNR? Reach out to [[email protected]]([email protected]).
License
LNRSimpleNotifications is available under the MIT license. See LICENSE.txt for details.
Credits
LNRSimpleNotifications is based on TSMessages, developed by Felix Krause. If LNRSimpleNotifications isn't quite what you're looking for we recommend you check it out.
*Note that all licence references and agreements mentioned in the LNRSimpleNotifications README section above
are relevant to that project's source code only.