File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Classes/GlobalStateExplorers/RuntimeBrowser Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ @interface TBKeyPathSearchController ()
42
42
@property (nonatomic ) NSArray <NSArray<FLEXMethod *> *> *classesToMethods;
43
43
@end
44
44
45
- #warning TODO there's no code to handle refreshing the table after manually appending ".bar" to "Bundle"
46
45
@implementation TBKeyPathSearchController
47
46
48
47
+ (instancetype )delegate : (id <TBKeyPathSearchControllerDelegate>)delegate {
@@ -56,8 +55,14 @@ + (instancetype)delegate:(id<TBKeyPathSearchControllerDelegate>)delegate {
56
55
57
56
delegate.tableView .delegate = controller;
58
57
delegate.tableView .dataSource = controller;
59
- delegate.searchController .searchBar .delegate = controller;
60
- delegate.searchController .searchBar .keyboardType = UIKeyboardTypeWebSearch;
58
+
59
+ UISearchBar *searchBar = delegate.searchController .searchBar ;
60
+ searchBar.delegate = controller;
61
+ searchBar.keyboardType = UIKeyboardTypeWebSearch;
62
+ searchBar.autocorrectionType = UITextAutocorrectionTypeNo;
63
+ if (@available (iOS 11 , *)) {
64
+ searchBar.smartInsertDeleteType = UITextSmartInsertDeleteTypeNo;
65
+ }
61
66
62
67
return controller;
63
68
}
You can’t perform that action at this time.
0 commit comments