mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-25 11:55:28 -04:00
added files via upload
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// FLEXKeyPathSearchController.h
|
||||
// FLEX
|
||||
//
|
||||
// Created by Tanner on 3/23/17.
|
||||
// Copyright © 2017 Tanner Bennett. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "FLEXRuntimeBrowserToolbar.h"
|
||||
#import "FLEXMethod.h"
|
||||
|
||||
@protocol FLEXKeyPathSearchControllerDelegate <UITableViewDataSource>
|
||||
|
||||
@property (nonatomic, readonly) UITableView *tableView;
|
||||
@property (nonatomic, readonly) UISearchController *searchController;
|
||||
|
||||
/// For loaded images which don't have an NSBundle
|
||||
- (void)didSelectImagePath:(NSString *)message shortName:(NSString *)shortName;
|
||||
- (void)didSelectBundle:(NSBundle *)bundle;
|
||||
- (void)didSelectClass:(Class)cls;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@interface FLEXKeyPathSearchController : NSObject <UISearchBarDelegate, UITableViewDataSource, UITableViewDelegate>
|
||||
|
||||
+ (instancetype)delegate:(id<FLEXKeyPathSearchControllerDelegate>)delegate;
|
||||
|
||||
@property (nonatomic) FLEXRuntimeBrowserToolbar *toolbar;
|
||||
|
||||
/// Suggestions for the toolbar
|
||||
@property (nonatomic, readonly) NSArray<NSString *> *suggestions;
|
||||
|
||||
- (void)didSelectKeyPathOption:(NSString *)text;
|
||||
- (void)didPressButton:(NSString *)text insertInto:(UISearchBar *)searchBar;
|
||||
|
||||
@end
|
Reference in New Issue
Block a user