Latest 0.0.3
Homepage https://github.com/TVGSoft/NotificationBar
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

NotificationBar

Notification UI with alert and banner style. User can reply a message inside notification.

Requirements

  • iOS 8.0+ / Mac OS X 10.10+ / watchOS 2.0+ / tvOS 9.0+
  • Swift 3
    • Xcode 8.0+

Documentation

  1. Add a handler:

    NotificationBar.shared.selectHandler = { [weak self] _ in
        guard let sSelf = self else { return }
    
    }
    NotificationBar.shared.sendHandler = { [weak self] (text) in
        guard let sSelf = self else { return }
    
        print(text)
    }
  2. Show notification:

    NotificationBar.share.showNotification(title: "Notification", message: "Message", style: .banner)
    NotificationBar.share.showNotification(title: "Notification", message: "Message", style: .alert)

Latest podspec

{
    "name": "NotificationBar",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "Notification UI with alert and banner style. User can reply a message inside notification.",
    "requires_arc": true,
    "version": "0.0.3",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "TVG": "[email protected]"
    },
    "homepage": "https://github.com/TVGSoft/NotificationBar",
    "source": {
        "git": "https://github.com/TVGSoft/NotificationBar.git",
        "tag": "0.0.3"
    },
    "source_files": "NotificationBar/Classes/**/*",
    "resource_bundles": {
        "NotificationBar": [
            "NotificationBar/Classes/*.xib"
        ]
    },
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This