29 lines
589 B
C
29 lines
589 B
C
|
|
//
|
||
|
|
// 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
|