1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// KBKeyboardSubscriptionFeatureItemView.h
|
||||
// CustomKeyboard
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// 顶部滚动的功能点 Item(左图右文)
|
||||
@interface KBKeyboardSubscriptionFeatureItemView : UIView
|
||||
|
||||
- (void)configureWithImage:(UIImage *)image title:(NSString *)title;
|
||||
|
||||
/// 根据 title 计算推荐宽度:textWidth + 50(图片 35 + 间距 5 + 左右内边距各 5)
|
||||
+ (CGFloat)preferredWidthForTitle:(NSString *)title;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user