Latest 1.0.2
Homepage https://github.com/rad182/RADInfoBannerView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Version
License
Platform

demo

Usage

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

Requirements

  • Swift 2.0
  • iOS 8.0+

Installation

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

pod "RADInfoBannerView"

Usage

Import module

import RADInfoBannerView

Showing simple info banner view with "Hello" text

RADInfoBannerView.showInfoBannerView("Hello")

With Activity Indicator and hide delay

RADInfoBannerView.showInfoBannerView("Loading more messages", showActivityIndicatorView: true, hideAfter: 5.0)

Customize info banner view

let infoBannerView = RADInfoBannerView(text: text, showActivityIndicatorView: self.activityIndicatorSwitch.on)
infoBannerView.backgroundColor = .redColor()
infoBannerView.textLabel.textColor = .yellowColor()
infoBannerView.show().hide(afterDelay: 3.0)

NOTE: If you’re using UIViewController Containment you will need to specify which controller you want to show the info banner view

RADInfoBannerView.showInfoBannerView("Loading more messages", showActivityIndicatorView: true, inController: self)

Lastly, Hiding

RADInfoBannerView.hideAllInfoBannerView(inController: self, animated: true)

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

License

RADInfoBannerView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "RADInfoBannerView",
    "version": "1.0.2",
    "summary": "Simple and Customizable Dropdown banner below Navigation Bar",
    "homepage": "https://github.com/rad182/RADInfoBannerView",
    "license": "MIT",
    "authors": {
        "Royce Albert Dy": "[email protected]"
    },
    "source": {
        "git": "https://github.com/rad182/RADInfoBannerView.git",
        "tag": "1.0.2"
    },
    "social_media_url": "https://twitter.com/rad182",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/*.swift",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This