首次提交
This commit is contained in:
28
QXLive/Tools/QXTextView.h
Normal file
28
QXLive/Tools/QXTextView.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// QXTextView.h
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/5/15.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface QXTextView : UITextView
|
||||
@property (nonatomic,strong)UILabel *placehoulderLabel;
|
||||
/// 颜色 默认为 #9B9B9B
|
||||
@property (nonatomic,strong)UIColor* placehoulderColor;
|
||||
///
|
||||
@property (nonatomic,strong)NSString* placehoulder;
|
||||
/// 默认为系统字体 12号字
|
||||
@property (nonatomic,strong)UIFont* placehoulderFont;
|
||||
/// 最大字数限制 默认 120
|
||||
@property (nonatomic,assign)NSInteger maxLength;
|
||||
/// 默认 NO
|
||||
@property (nonatomic,assign)BOOL maxLengthHidden;
|
||||
/// 剩余可输入文字颜色
|
||||
@property (nonatomic,strong)UIColor *lengthColor;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user