Latest 1.0.1
Homepage https://github.com/jnblanchard/JNBBottombar
License MIT
Platforms ios 11.0
Authors

CI Status
Version
License
Platform

JNBBottombar

Requirements

iOS 11+

Installation

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

pod 'JNBBottombar'

Example

Here’s how one may show a greeting label for two and a half seconds.

JNBBottombar.shared.showWith(contentView: label,
                             contentBackgroundColor: UIColor.black,
                             cornerRadius: 6,
                             screenInsets: UIEdgeInsets(top: 0, left: -8, bottom: -16, right: -8),
                             shadowColor: UIColor.black.cgColor,
                             shadowOpacity: 0.7,
                             shadowRadius: 10,
                             borderWidth: 2.0,
                             borderColor: UIColor.white.cgColor,
                             forDuration: 2.5,
                             completion: nil)

If you do not specify a forDuration; the bar will show until hide or another call to show is made.

JNBBottombar.shared.hide { (completed) in
  guard completed else { return }
  // bar has finished animating down
}

License

MIT license. See the LICENSE file for more info.

Author

[email protected]

Latest podspec

{
    "name": "JNBBottombar",
    "version": "1.0.1",
    "summary": "Customizable bottom bar controller.",
    "swift_version": "4.2",
    "description": "If you have bottom content that you would like to show and hide off screen. This controller makes it really easy to show anything as bottom information. It is a great way to show some interaction in your app.",
    "homepage": "https://github.com/jnblanchard/JNBBottombar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jnblanchard/JNBBottombar.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "JNBBottombar/Classes/**/*"
}

Pin It on Pinterest

Share This