Giter VIP home page Giter VIP logo

wzrootnavigationcontroller's Introduction

WZRootNavigationController

CI Status Version License Platform

iPhoneX效果

  • 效果图(gif图压缩,实际效果请运行demo)

animation

push&pop

Installation

很多应用需要给每个VC设置独立导航条,做成不同的视觉效果,同时转场交互也是一个头疼的问题,然后还需要全屏幕右滑返回,部分页面又有了侧边返回的变态需求,结合以往项目的各种蛋疼的需求问题和切换Swift的实际情况,写了这么一个库WZRootNavigationController,它实现了 RTRootNavigationController & FDFullscreenPopGesture & TransitionTreasury 完美结合(纯属吹牛逼,就是为了项目需求硬生生套上的,为了兼容ObjC也是各种妥协,各位大佬走过路过求点评不足)

参照业内相关实现:

Usage

一些基本使用和RTRootNavigationController基本一致的,请参考给出的demo

mind

通过wz_rootContentConfig设置 popGestureProcessing 和 animationProcessing,可以实现独立的手势和转场动画处理

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

pod 'WZRootNavigationController'

Author

arcangelw, [email protected]

License

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

wzrootnavigationcontroller's People

Contributors

arcangelw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wzrootnavigationcontroller's Issues

为什么用纯代码设置导航栏样式会没有效果?

#import "LTNavigationBar.h"

@implementation LTNavigationBar

  • (instancetype)initWithFrame:(CGRect)frame
    {
    self = [super initWithFrame:frame];
    if (self) {

      self.translucent = NO;
      
      UIColor *bgcolor = [UIColor redColor];
      [self setBarTintColor:bgcolor];
      
      [self setTitleTextAttributes:@{NSFontAttributeName : [UIFont boldSystemFontOfSize:17],NSForegroundColorAttributeName:kColor131d36}];
      [self setTintColor:kColor131d36];
      [self setShadowImage:[UIImage lt_imageWithColor:kColoreff1f5]];
      [self setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];
    

    }
    return self;
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.