CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

SimpleNotificationBar 0.1.0

SimpleNotificationBar 0.1.0

Maintained by Alex Reilly.



RedboothNotificationBar

CI Status Version License Platform

alt text

Usage

Usage is simple, as the name implies. Simply conform your UIViewController to NotificationBar

import SimpleNotificationBar

class ViewController: UIViewController, NotificationBar {
  ...
}

And use the methods that it provides

self.showSuccessBanner(withMessage: "You did it!")
self.showErrorBanner(withMessage: "Uh Oh!")

self.dismissBanner()

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

RedboothNotificationBar is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RedboothNotificationBar'