2019-06-10 19:23:37 +08:00
|
|
|
|
//
|
|
|
|
|
|
// CRLineView.h
|
|
|
|
|
|
// CRBoxInputView_Example
|
|
|
|
|
|
//
|
|
|
|
|
|
// Created by Chobits on 2019/6/10.
|
|
|
|
|
|
// Copyright © 2019 BearRan. All rights reserved.
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
2019-08-01 17:41:36 +08:00
|
|
|
|
#define CRColorMaster [UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
|
|
|
|
|
|
|
2019-06-10 19:23:37 +08:00
|
|
|
|
@interface CRLineView : UIView
|
|
|
|
|
|
|
2019-06-11 08:10:58 +08:00
|
|
|
|
@property (strong, nonatomic) UIView *lineView;
|
|
|
|
|
|
|
2019-08-01 17:08:55 +08:00
|
|
|
|
/**
|
|
|
|
|
|
下划线颜色
|
|
|
|
|
|
状态:未选中状态时
|
2019-08-01 17:41:36 +08:00
|
|
|
|
默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
|
2019-08-01 17:08:55 +08:00
|
|
|
|
*/
|
|
|
|
|
|
@property (copy, nonatomic) UIColor *colorNormal;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
下划线颜色
|
|
|
|
|
|
状态:选中状态时
|
2019-08-01 17:41:36 +08:00
|
|
|
|
默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
|
2019-08-01 17:08:55 +08:00
|
|
|
|
*/
|
|
|
|
|
|
@property (copy, nonatomic) UIColor *colorSelected;
|
|
|
|
|
|
|
2019-06-10 19:23:37 +08:00
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;
|
|
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|