重构
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user