Description
CRNotifications are custom in-app notifications with 3 types of layouts. The notifications will animate in and out. They will hide when they are clicked on or with an automatic dismissal.
CRNotifications alternatives and similar libraries
Based on the "Alert" category.
Alternatively, view CRNotifications alternatives based on common mentions on social networks and blogs.
-
Alerts Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
PopupDialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style. -
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. -
MijickPopupView
Popups, popovers, sheets, alerts, toasts, banners, (...) presentation made simple. Written with and for SwiftUI. -
CDAlertView
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift -
SPAlert
DISCONTINUED. Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. [Moved to: https://github.com/varabeis/SPAlert] -
StatusAlert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way. -
SPIndicator
Floating indicator, mimicrate to indicator which appear when silent mode switched. Can be present from top and bottom. Interactive with gesters. -
Indicate
Interactive notification pop-over (aka "Toast) modeled after the iOS AirPods and Apple Pencil indicator.
CodeRabbit: AI Code Reviews for Developers

* 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 CRNotifications or a related project?
README
CRNotifications
CRNotifications are custom in-app notifications with 3 types of layouts. The notifications will animate in and out. They will hide when they are clicked on or with an automatic dismissal.
Screenshots
Notifications types
Success | Error | Info |
---|---|---|
[alt text](cr-success.png "Success") | [alt text](cr-error.png "Error") | [alt text](cr-info.png "Info") |
How to use
Call CRNotifications.showNotification
with a title, message, notification type and a time for how long the notification should appear. Should the notification not disappear automatically use a time of 0
. You may also pass a completion block that is executed once the notification disappears.
Built-in notification types are :
```.error```
```.info```
Example:
```swift
CRNotifications.showNotification(type: CRNotifications.success, title: "Success!", message: "You successfully showed this notification.", dismissDelay: 3)
It is also possible to customize the notifications and provide your own custom style either by the method
showNotification(textColor:, backgroundColor: UIColor, image: UIImage?, title: String, message: String, dismissDelay: TimeInterval)
or by conforming to the CRNotificationType
protocol:
protocol CRNotificationType {
var textColor: UIColor { get }
var backgroundColor: UIColor { get }
var image: UIImage? { get }
}
Installation
Cocoapods install
Swift 5
pod 'CRNotifications'
Swift 4.2
pod 'CRNotifications', :git => 'https://github.com/dkcas11/CRNotifications.git', :branch => 'swift4-2'
Swift 3
pod 'CRNotifications', :git => 'https://github.com/dkcas11/CRNotifications.git', :branch => 'swift3'
Manual install
Drag the CRNotifications folder into your project and you are good to go.
Author & Contributors
Casper Riboe (Author)
Facebook : Casper Riboe Twitter : dkcas11 Mail : [email protected]
Herrick Wolber (Contribution)
Twitter : estar2005 Github : Rico237 Mail : [email protected]