Skip to content

dgkatz/MaterialDesign_NavBar

Repository files navigation

Material Design Navigation Bar

Synopsis

Material Design Navigation Bar is an Objective C project that provides a subclass of UINavigationBar that follows the material deisgn guidlines.
alt tag

Code Example

import "materialNavBar.h" & "UIColor+BFPaperColors.h" in header file.

#import "materialNavBar.h"
#import "UIColor+BFPaperColors.h"

create a "materialNavBar" variable

materialNavBar *navBar;

initialize navBar variable & set paper color value

navBar = [[materialNavBar alloc]init];
[navBar setMaterialColor:[UIColor paperColorPink]];

set navigation controller navigation bar to navBar variable

[self.navigationController setValue: navBar forKeyPath:@"navigationBar"];

Installation

Simply download the project file above and copy the following files into your project:

  • materialNavBar.h
  • materialNavBar.m
  • UIColor+BFPaperColors.h
  • UIColor+BFPaperColors.m

License

About

An easy to use material design Navigation Bar subclass.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published