单军华
2018-07-11 7b02207537d35bfa1714bf8beafc921f717d100a
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
//
//  ZJCustomLabel.h
//  ZJScrollPageView
//
//  Created by jasnig on 16/5/6.
//  Copyright © 2016年 ZeroJ. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import "ZJSegmentStyle.h"
@interface ZJTitleView : UIView
@property (assign, nonatomic) CGFloat currentTransformSx;
 
@property (assign, nonatomic) TitleImagePosition imagePosition;
 
@property (strong, nonatomic) NSString *text;
@property (strong, nonatomic) UIColor *textColor;
@property (strong, nonatomic) UIFont *font;
@property (assign, nonatomic, getter=isSelected) BOOL selected;
/** 代理方法中推荐只设置下面的属性, 当然上面的属性设置也会有效, 不过建议上面的设置在style里面设置 */
@property (strong, nonatomic) UIImage *normalImage;
@property (strong, nonatomic) UIImage *selectedImage;
 
- (CGFloat)titleViewWidth;
- (void)adjustSubviewFrame;
@end