This commit is contained in:
2025-11-08 21:44:41 +08:00
parent a729396401
commit 41b14ceea4
6 changed files with 498 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
//
// MySkinCell.h
// keyBoard
//
// 我的皮肤 - 列表 cell。编辑态显示选择圆点。
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MySkinCell : UICollectionViewCell
/// 是否处于编辑态(显示左上角选择圆点)
@property (nonatomic, assign, getter=isEditing) BOOL editing;
/// 配置显示内容(演示仅传标题与占位图)
- (void)configWithTitle:(NSString *)title image:(nullable UIImage *)image;
/// 根据选中状态刷新打勾样式(供外部在 select/deselect 时调用)
- (void)updateSelected:(BOOL)selected;
@end
NS_ASSUME_NONNULL_END