BBANavigationBarModel.h
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// BBANavigationBarStyle.h
// BaiduBoxApp
//
// Created by qfu on 8/4/15.
// Copyright (c) 2015 Baidu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BBANavigationBarModel : NSObject
@property (nonatomic) UIStatusBarStyle statusBarStyle;
/***************************************************
*
* titleImage 优先级高于 title,titleColor,titleFont
* barImage 优先级高于 barColor
* buttons 优先级高于 button
*
***************************************************/
@property (nonatomic,copy ) NSString *title;
@property (nonatomic,strong) UIColor *titleColor;
@property (nonatomic,strong) UIFont *titleFont;
@property (nonatomic,strong) UIImage *titleImage; // titleImage 优先级高于 title,titleColor,titleFont
@property (nonatomic,strong) UIColor *barColor;
@property (nonatomic,strong) UIImage *barImage; // barImage 优先级高于 barColor
@property (nonatomic,strong) UIButton *leftBarButton; // leftBarButtons 优先级高于 leftBarButton
@property (nonatomic,strong) UIButton *rightBarButton;
@property (nonatomic,strong) NSArray *leftBarButtons;
@property (nonatomic,strong) NSArray *rightBarButtons;
+ (void)enumeratePropertyNameUsingBlock:(void (^)(NSString *name, NSUInteger idx, BOOL *stop))block;
@end