重构
This commit is contained in:
28
CustomKeyboard/View/KBKeyboardView/KBKeyboardLegacyBuilder.h
Normal file
28
CustomKeyboard/View/KBKeyboardView/KBKeyboardLegacyBuilder.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// KBKeyboardLegacyBuilder.h
|
||||
// CustomKeyboard
|
||||
//
|
||||
// Legacy layout builder (non-config layout).
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class KBKey;
|
||||
@class KBBackspaceLongPressHandler;
|
||||
@class UIView;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface KBKeyboardLegacyBuilder : NSObject
|
||||
|
||||
- (void)buildRow:(UIView *)row
|
||||
withKeys:(NSArray<KBKey *> *)keys
|
||||
edgeSpacerMultiplier:(CGFloat)edgeSpacerMultiplier
|
||||
shiftOn:(BOOL)shiftOn
|
||||
backspaceHandler:(KBBackspaceLongPressHandler *)backspaceHandler
|
||||
target:(id)target
|
||||
action:(SEL)action;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user