Files
keyboard/keyBoard/Class/Vender/CRBoxInputView/CRLineView.h

53 lines
1.3 KiB
C
Raw Normal View History

2025-12-02 18:29:04 +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
#define CRColorMaster [UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
@interface CRLineView : UIView
typedef void(^CRLineViewSelectChangeBlock)(CRLineView *lineView, BOOL selected);
@property (strong, nonatomic) UIView *lineView;
@property (assign, nonatomic) BOOL selected;
/**
线
[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
*/
@property (copy, nonatomic) UIColor *underlineColorNormal;
/**
线
[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
*/
@property (copy, nonatomic) UIColor *underlineColorSelected;
/**
线
[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
*/
@property (copy, nonatomic) UIColor *underlineColorFilled;
/**
*/
@property (copy, nonatomic) CRLineViewSelectChangeBlock __nullable selectChangeBlock;
- (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;
@end
NS_ASSUME_NONNULL_END