添加基本页面

This commit is contained in:
2025-10-29 14:28:57 +08:00
parent 045d5eaff8
commit 23317c9fd4
8 changed files with 146 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
//
// BaseCell.m
// keyBoard
//
#import "BaseCell.h"
@implementation BaseCell
+ (NSString *)reuseId {
return NSStringFromClass(self);
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
self.selectionStyle = UITableViewCellSelectionStyleNone;
[self setupUI];
}
return self;
}
- (void)prepareForReuse {
[super prepareForReuse];
// Reset state if needed by subclasses
}
- (void)setupUI {
// Subclasses override to build UI
}
@end