12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // CustomNaviBarView.h
- //
- // Created by Simon on 2019/3/22.
- // Copyright © 2019 Simon. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @interface CustomNaviBarView : UIView
- @property (nonatomic, weak) UIViewController *m_viewCtrlParent;
- @property (nonatomic, readonly) UIImageView *imgViewBg;
- @property (nonatomic, readonly) UIButton *btnBack;
- @property (nonatomic, strong) NSString *title;
- /**
- 自定义底部分割线
- */
- @property (nonatomic, strong) UIView *topLine;
- + (CGRect)rightBtnFrame:(CGRect)rect;
- + (CGSize)barBtnSize;
- + (CGRect)titleViewFrame:(CGRect)rect;
- // 用自定义的按钮和标题替换默认内容
- - (void)setLeftBtn:(UIButton *)btn;
- - (void)setRightBtn:(UIButton *)btn;
- - (void)setTitleView:(UIView *)titleView;
- - (void)setLeftButtonArray:(NSArray *)leftButtonArray;
- - (void)setRightButtonArray:(NSArray *)rightButtonArray;
- - (void)setBgColor:(UIColor *)bgColor;
- - (void)setWhite;
- @end
|