Latest 1.0.1
Homepage https://github.com/jogendra/material-navigation-bar
License MIT
Platforms ios 10.0
Authors

MaterialNavbar

Custom UINavigationBar with Google Material style for iOS

MaterialNavbar

Build Status
Version
License
Platform

Demo/Example

For demo:

$ pod try MaterialNavbar

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

$ cd Example
$ pod install

If you don’t have CocoaPods installed, grab it with [sudo] gem install cocoapods.

$ open MaterialNavbar.xcworkspace

Requirements

  • iOS 10.0 or later
  • Swift 4.2
  • Xcode 10

Installation

CocoaPods

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

pod 'MaterialNavbar'

Manual Installation

Just drag the MaterialNavbar.swift files into your project.

Usage

MaterialNavbar is a subclass of UINavigationBar, so you use it as usually. For init MaterialNavbar in a UINavigationController follow the example bellow:

var navigationController = UINavigationController(navigationBarClass: MaterialNavbar.self, toolbarClass: nil)
navigationController.viewControllers = [ViewController()]

Theme

To use a theme:

MaterialNavbar.changeColorNavigationBar(ThemeColor.Red)

Inspired by: RRNavigationBar

Author

MaterialNavbar

Jogendra Kumar

MaterialNavbar
MaterialNavbar
MaterialNavbar

License

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

Latest podspec

{
    "name": "MaterialNavbar",
    "version": "1.0.1",
    "summary": "Custom UINavigationBar with Google Material style, for iOS written on Swift.",
    "homepage": "https://github.com/jogendra/material-navigation-bar",
    "social_media_url": "https://twitter.com/imjog24",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jogendra Kumar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jogendra/material-navigation-bar.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "4.2",
    "source_files": "MaterialNavbar/*.swift"
}

Pin It on Pinterest

Share This