Latest 0.1.0
Homepage https://github.com/Redbooth/SimpleNotificationBar
License MIT
Platforms ios 10.3
Dependencies SwiftMessages
Authors

RedboothNotificationBar

CircleCI
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'

Latest podspec

{
    "name": "SimpleNotificationBar",
    "module_name": "SimpleNotificationBar",
    "version": "0.1.0",
    "summary": "Easy drop down notification for your users",
    "description": "Easy drop down notification for your users including errors and successes",
    "homepage": "https://github.com/Redbooth/SimpleNotificationBar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "twof": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Redbooth/SimpleNotificationBar.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/TheWisestFools",
    "platforms": {
        "ios": "10.3"
    },
    "swift_version": "4.2",
    "source_files": "RedboothNotificationBar/Classes/**/*",
    "dependencies": {
        "SwiftMessages": []
    }
}

Pin It on Pinterest

Share This