Skip to content
Custom in-app notifications.
Swift Ruby
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
CRNotifications Updated pod version Sep 21, 2019
CRNotificationsExample.xcworkspace Added workspace settings to use Legacy Build System Dec 11, 2018
CRNotificationsExample Updated pod version Sep 21, 2019
.gitignore Remove .DS_Store files Sep 13, 2017
LICENSE Adding cocoapod compatibility Sep 13, 2017
Podfile Adding Cocoapods Sep 13, 2017
Podfile.lock Reindent files to be nice and clean Sep 13, 2017 Added new screenshots Sep 21, 2019
cr-error.png Added new screenshots Sep 21, 2019
cr-success.png Added new screenshots Sep 21, 2019


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.


Notifications types
Success Error Info
alt text alt text alt text

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 : .success .error .info


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 }


Cocoapods install

Swift 5
pod 'CRNotifications'
Swift 4.2
pod 'CRNotifications', :git => '', :branch => 'swift4-2'
Swift 3
pod '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 :

Herrick Wolber (Contribution)

Twitter : estar2005
Github : Rico237
Mail :

You can’t perform that action at this time.