ImpressiveNotifications
ImpressiveNotifications 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. It is also available to add custom behavior when notification is tapped.
Installation
ImpressiveNotifications is available through Carthage.
To install just write into your Cartfile:
Usage
Call INNotifications.show
with a type, data structure and customStyle if you want. Only type is necessary.
Built-in notification types are :
.success
.warning
.danger
.custom(UIView)
Example:
Configuration
ImpressiveNotifications gives user possibility to customize view.
Custom style
INNotificationStyle
is the structure created to customize the appearance of notification.
Example:
Custom data, time and completionHandler
INNotificationData
is the structure created to customize data on the notification, time and add completionHandler on tap
Example:
Custom view
It is also possible to add custom view created for example in storyboard.
Example: