You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
![]()
2 years ago
|
//
|
||
|
// Created by yuklng on 2017/1/11.
|
||
|
// Copyright © 2017年 yuklng. All rights reserved.
|
||
|
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "TableCell.h"
|
||
|
|
||
|
@interface WTMeCell : baseCell
|
||
|
|
||
|
@property (strong, nonatomic) UITextField * InputText; //内容输入框
|
||
|
|
||
|
|
||
|
@property (nonatomic) NSString* regular_text; //设置文本框使用的正则表达式
|
||
|
|
||
|
@property (nonatomic,readonly) NSString* now_text; //当前文本框的文字,只读
|
||
|
|
||
|
@property (nonatomic,readonly) BOOL isBool; //当前文本框是否符合正则,只读
|
||
|
|
||
|
@property (nonatomic,readonly) NSString* type_text; //类型,内容为类名
|
||
|
|
||
|
@property (nonatomic,readonly) NSString* cell_Identifier; //cell的reuseIdentifier
|
||
|
|
||
|
/*!
|
||
|
* 设置文本框最大的文字输入数量
|
||
|
*
|
||
|
* @param length 限制长度
|
||
|
*
|
||
|
**/
|
||
|
-(void)setTextFieldLength:(NSInteger)length;
|
||
|
|
||
|
/*!
|
||
|
* 设置cell文字内容
|
||
|
*
|
||
|
* @param cell_text 标签内容
|
||
|
*
|
||
|
* @param placeholder 文本框默认占位符
|
||
|
*
|
||
|
**/
|
||
|
-(void)setTitle:(NSString *)title cellText:(NSString*)cell_text placeholder:(NSString*)placeholder;
|
||
|
|
||
|
|
||
|
@end
|