Files
keyboard/keyBoard/Class/Me/V/KBMyKeyboardCell.h
2025-11-10 20:40:11 +08:00

25 lines
573 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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