All Projects → cuzv → RRNavigationBar

cuzv / RRNavigationBar

Licence: MIT license
bring UINavigationBar to UIViewController.

Programming Languages

objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to RRNavigationBar

Kmnavigationbartransition
A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically.
Stars: ✭ 3,274 (+29663.64%)
Mutual labels:  navigationbar, navigationbar-transition
Vhlnavigation
导航栏切换之颜色过渡切换,导航栏背景图片切换,微信红包两种不同颜色切换,导航栏透明度,有无导航栏切换
Stars: ✭ 210 (+1809.09%)
Mutual labels:  navigationbar
Animatedbottombar
A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.
Stars: ✭ 797 (+7145.45%)
Mutual labels:  navigationbar
Bubble Navigation
🎉 [Android Library] A light-weight library to easily make beautiful Navigation Bar with ton of 🎨 customization option.
Stars: ✭ 1,537 (+13872.73%)
Mutual labels:  navigationbar
Evncustomsearchbar
🔍Born for iOS 11 and iPhone X SearchBar
Stars: ✭ 52 (+372.73%)
Mutual labels:  navigationbar
Mtransparentnav
Change NavigationBar's color and transparency 导航栏颜色渐变,通过给viewController添加属性,可方便控制title、item、导航栏颜色变化
Stars: ✭ 109 (+890.91%)
Mutual labels:  navigationbar
Ultimatebar
[停止维护]Transparent statusbar and navigationbar
Stars: ✭ 655 (+5854.55%)
Mutual labels:  navigationbar
Teaset
A UI library for react native, provides 20+ pure JS(ES6) components, focusing on content display and action control.
Stars: ✭ 2,845 (+25763.64%)
Mutual labels:  navigationbar
React Site Nav
A kick ass site menu powered by styled components inspired by Stripe.
Stars: ✭ 155 (+1309.09%)
Mutual labels:  navigationbar
Customnavigationbarsample
Navigation Bar Customization in Xamarin Forms
Stars: ✭ 104 (+845.45%)
Mutual labels:  navigationbar
Custom bubble navigation bar
A custom navigation bar with bubble click effect in Flutter
Stars: ✭ 104 (+845.45%)
Mutual labels:  navigationbar
React Native X Bar
🎩 A flexible, lightweight bar component for common UI patterns in React Native
Stars: ✭ 68 (+518.18%)
Mutual labels:  navigationbar
Edge To Edge
Full screen Android apps using simple Kotlin DSL
Stars: ✭ 118 (+972.73%)
Mutual labels:  navigationbar
Ultimatebarx
Make Android transparent statusbar and navigationbar easy.
Stars: ✭ 879 (+7890.91%)
Mutual labels:  navigationbar
Tiptoes
Simple navigation bar in the bottom, a beautiful discretion in your UI.
Stars: ✭ 221 (+1909.09%)
Mutual labels:  navigationbar
Ypnavigationbartransition
A Full functional UINavigationBar framework for making bar transition more natural! You don't need to call any UINavigationBar api, implementing YPNavigationBarConfigureStyle protocol for your view controller instead. (类似微信 iOS Navigation Bar 的切换方案)
Stars: ✭ 725 (+6490.91%)
Mutual labels:  navigationbar
Immersionbar
android 4.4以上沉浸式状态栏和沉浸式导航栏管理,适配横竖屏切换、刘海屏、软键盘弹出等问题,可以修改状态栏字体颜色和导航栏图标颜色,以及不可修改字体颜色手机的适配,适用于Activity、Fragment、DialogFragment、Dialog,PopupWindow,一句代码轻松实现,以及对bar的其他设置,详见README。简书请参考:http://www.jianshu.com/p/2a884e211a62
Stars: ✭ 10,030 (+91081.82%)
Mutual labels:  navigationbar
Systemuihelper
Helper for dealing with Android System UI visibility
Stars: ✭ 108 (+881.82%)
Mutual labels:  navigationbar
Easydropdown
💧 Fantastic dropdown in Swift
Stars: ✭ 254 (+2209.09%)
Mutual labels:  navigationbar
Zxnavigationbar
灵活轻量的自定义导航栏,导航栏属于控制器view,支持导航栏联动,一行代码实现【导航栏背景图片设置、导航栏渐变、折叠、修改Item大小和边距、自定义导航栏高度、全屏手势返回、pop拦截、仿系统导航栏历史堆栈】等各种效果
Stars: ✭ 230 (+1990.91%)
Mutual labels:  navigationbar

License CocoaPods Compatible Weibo Twitter

RRNavigationBar

bring UINavigationBar to UIViewController.

Introduction

KMNavigationBarTransition provides a grace method deal with navigationBar transition, and requires zero line of code changes, which is awesome.

Here is the situation I couldn't doing well by using KMNavigationBarTransition: first page is a product list, click product line, push to product details page, requires transparent navigationBar, while you scrolling, it could recover to default navigationBar's appearance. Continue push to the next page, the navigationBar needs to look like the first page, which is the default appearance. (like the following 1st gif tells.)

In a word, what I wanted is change the navigationBar's appearance only affect current viewController, which is this repo trying to do.

 

Requirements

  • iOS 7.0+

My working environment is iOS 11.0 & Xcode 9, the minimum support version is iOS7 in theory, without test passed confirmed.

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

You can install it with the following command:

$ gem install cocoapods

To integrate RRNavigationBar into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'RRNavigationBar'

Then, run the following command:

$ pod install

You should open the {Project}.xcworkspace instead of the {Project}.xcodeproj after you installed anything from CocoaPods.

Usage

In UIViewController subclassess viewDidLoad method:

self.rr_navigationBar.xxx = newValue;

If the viewController's view is activated, will take effect immediately, otherwise when viewWillLayoutSubviews called.

For more information checkout the demo in project.

Supported Methods

  • barStyle
  • translucent
  • tintColor
  • barTintColor
  • backgroundColor
  • shadowImage
  • setBackgroundImage:forBarMetrics:
  • alpha
  • backIndicatorImage
  • backIndicatorTransitionMaskImage
  • titleTextAttributes
  • rr_forceShadowImageHidden

Try not change translucent property once you setup, which is may cause navigationBar flash when animation complete with extends container ViewController's view backgroundColor.

Especially in iOS 11, it will cause navigationBar corruption during (push) animation & ViewController's contentView(UIScrollView) jump.

Set hiddenproperty will have no effect, try use setBackgroundImage:forBarMetrics: & shadowImage make navigationBar invisible.

If you don't want to be impacted for specific UINavigationController, use those methods execude it.

  • RRNavigationBarExcludeImpactBehaviorForClass
  • RRNavigationBarExcludeImpactBehaviorForInstance

Also, you can disable/enable pop interactive animation by manipulate ViewController's property: rr_interactivePopGestureRecognizerDisabled.

License

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

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].