27 lines
548 B
Objective-C
27 lines
548 B
Objective-C
//
|
|
// KBSuggestionBarView.h
|
|
// CustomKeyboard
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class KBSuggestionBarView;
|
|
@class KBSkinTheme;
|
|
|
|
@protocol KBSuggestionBarViewDelegate <NSObject>
|
|
- (void)suggestionBarView:(KBSuggestionBarView *)view didSelectSuggestion:(NSString *)suggestion;
|
|
@end
|
|
|
|
@interface KBSuggestionBarView : UIView
|
|
|
|
@property (nonatomic, weak) id<KBSuggestionBarViewDelegate> delegate;
|
|
|
|
- (void)updateSuggestions:(NSArray<NSString *> *)suggestions;
|
|
- (void)applyTheme:(KBSkinTheme *)theme;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|