This commit is contained in:
2026-03-04 12:54:57 +08:00
parent 2a122d27a9
commit f30b1d7640
20 changed files with 2190 additions and 1546 deletions

View File

@@ -0,0 +1,28 @@
//
// 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