Added search in text of some components

Summary: Added a possibility to search for the text not only in name and id of components but also in text for all components, that conforms to a protocol <SKTextSearchable>

Reviewed By: priteshrnandgaonkar

Differential Revision: D16108297

fbshipit-source-id: 31da4ac6762c487ef644d62c9576d9eff43e8cd4
This commit is contained in:
Roman Gorbunov
2019-07-08 03:36:24 -07:00
committed by Facebook Github Bot
parent 6e1483edfa
commit 7551b6da04
4 changed files with 50 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
@protocol FKTextSearchable <NSObject>
- (NSString *)searchableText;
@end