29 lines
682 B
C
29 lines
682 B
C
|
|
//
|
||
|
|
// KBKeyboardInteractionHandler.h
|
||
|
|
// CustomKeyboard
|
||
|
|
//
|
||
|
|
|
||
|
|
#import <Foundation/Foundation.h>
|
||
|
|
#import <UIKit/UIKit.h>
|
||
|
|
|
||
|
|
@class KBKeyButton;
|
||
|
|
|
||
|
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
|
||
|
|
@interface KBKeyboardInteractionHandler : NSObject
|
||
|
|
|
||
|
|
- (UIView *)resolveHitView:(UIView *)hitView
|
||
|
|
point:(CGPoint)point
|
||
|
|
container:(UIView *)container
|
||
|
|
rowViews:(NSArray<UIView *> *)rowViews;
|
||
|
|
|
||
|
|
- (NSArray<KBKeyButton *> *)collectKeyButtonsInView:(UIView *)view;
|
||
|
|
|
||
|
|
- (void)showPreviewForButton:(KBKeyButton *)button inContainer:(UIView *)container;
|
||
|
|
- (void)hidePreview;
|
||
|
|
- (void)bringPreviewToFrontIfNeededInContainer:(UIView *)container;
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
NS_ASSUME_NONNULL_END
|