| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // MOGuildInputBaseCell.m
- // MiMoLive
- //
- // Created by SuperC on 2023/10/26.
- //
- #import "MOGuildInputBaseCell.h"
- @implementation MOGuildInputBaseCell
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
-
- //Cell 去除选中效果
- self.selectionStyle = UITableViewCellSelectionStyleNone;
- self.backgroundColor = [UIColor clearColor];
-
- self.inputTxf.delegate = self;
- self.inputTxf.placeholder = @"Please Enter";
-
- self.titleLab.font = [MOTextTools getTheFontWithSize:16.0 AndFontName:kNormalContentFontStr];
- self.inputTxf.font = [MOTextTools getTheFontWithSize:16.0 AndFontName:kNormalContentFontStr];
-
- }
- - (void)textFieldDidEndEditing:(UITextField *)textField
- {
- if (self.returnTxFText)
- {
- self.returnTxFText(textField.text);
- }
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- @end
|