This commit is contained in:
2025-11-10 20:40:11 +08:00
parent a007a77db9
commit dc0c55c495
10 changed files with 1419 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
//
// KBMyKeyboardCell.h
// keyBoard
//
// 自定义键盘截图页的标签 Cell带表情、文案、右上角删除圆点
// 使用 Masonry 约束,支持根据文案动态计算宽度。
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface KBMyKeyboardCell : UICollectionViewCell
/// 配置展示内容
- (void)configEmoji:(NSString *)emoji title:(NSString *)title;
/// 根据文案计算自适应尺寸(高度固定,宽度随文本变化)
+ (CGSize)sizeForEmoji:(NSString *)emoji title:(NSString *)title;
@end
NS_ASSUME_NONNULL_END