Files
CRBoxInputView/PodCode/Classes/CRLineView.h

53 lines
1.3 KiB
C
Raw Permalink Normal View History

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]
@interface CRLineView : UIView
2020-06-10 22:57:53 +08:00
typedef void(^CRLineViewSelectChangeBlock)(CRLineView *lineView, BOOL selected);
2019-06-10 19:23:37 +08:00
2019-06-11 08:10:58 +08:00
@property (strong, nonatomic) UIView *lineView;
@property (assign, nonatomic) BOOL selected;
2019-06-11 08:10:58 +08:00
2019-08-01 17:08:55 +08:00
/**
线
2020-01-19 17:09:33 +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
*/
2019-08-01 17:48:07 +08:00
@property (copy, nonatomic) UIColor *underlineColorNormal;
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
*/
2019-08-01 17:48:07 +08:00
@property (copy, nonatomic) UIColor *underlineColorSelected;
2019-08-01 17:08:55 +08:00
2020-01-19 17:09:33 +08:00
/**
线
[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
*/
@property (copy, nonatomic) UIColor *underlineColorFilled;
2020-06-10 22:57:53 +08:00
/**
*/
@property (copy, nonatomic) CRLineViewSelectChangeBlock __nullable selectChangeBlock;
2019-06-10 19:23:37 +08:00
- (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;
@end
NS_ASSUME_NONNULL_END