Files
CRBoxInputView/PodCode/Classes/CRBoxInputCellProperty.h

49 lines
1.4 KiB
C
Raw Normal View History

2019-01-03 18:03:44 +08:00
//
// CRBoxInputCellProperty.h
// CaiShenYe
//
// Created by Chobits on 2019/1/3.
// Copyright © 2019 Chobits. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
2019-01-04 16:51:30 +08:00
typedef NS_ENUM(NSInteger, CRBoxSecurityType) {
2019-01-07 15:50:20 +08:00
CRBoxSecuritySymbolType,
CRBoxSecurityCustomViewType,
2019-01-04 16:51:30 +08:00
};
2019-01-04 15:28:43 +08:00
@interface CRBoxInputCellProperty : NSObject <NSCopying>
2019-01-03 18:03:44 +08:00
2019-01-04 15:28:43 +08:00
// UI
@property (copy, nonatomic) UIColor *cellBorderColorNormal;
@property (copy, nonatomic) UIColor *cellBorderColorSelected;
@property (copy, nonatomic) UIColor *cellBorderColorFilled;
2019-01-07 12:56:47 +08:00
@property (copy, nonatomic) UIColor *cellBgColorNormal;
@property (copy, nonatomic) UIColor *cellBgColorSelected;
@property (copy, nonatomic) UIColor *cellBgColorFilled;
2019-01-04 15:28:43 +08:00
@property (copy, nonatomic) UIColor *cellCursorColor; //光标颜色
2019-01-07 12:30:15 +08:00
@property (assign, nonatomic) CGFloat cellCursorWidth;
@property (assign, nonatomic) CGFloat cellCursorHeight;
2019-01-04 15:28:43 +08:00
@property (assign, nonatomic) CGFloat cornerRadius;
@property (assign, nonatomic) CGFloat borderWidth;
2019-01-03 18:03:44 +08:00
// label
2019-01-04 15:28:43 +08:00
@property (copy, nonatomic) UIFont *cellFont;
@property (copy, nonatomic) UIColor *cellTextColor;
// Security
@property (assign, nonatomic) BOOL ifShowSecurity;
@property (copy, nonatomic) NSString *securitySymbol;
@property (copy, nonatomic) NSString *originValue;
2019-01-04 16:51:30 +08:00
@property (assign, nonatomic) CRBoxSecurityType securityType;
2019-01-04 20:07:30 +08:00
// Test
@property (assign, nonatomic) NSInteger index;
2019-01-03 18:03:44 +08:00
@end
NS_ASSUME_NONNULL_END