Performs search using all search objects it contains, sequentially, until one of them finds something. Composite search object can be a part of other composite search objects. The same search object can be used in more than one composite searches. More...
#import <SYSearch.h>
Instance Methods | |
(nonnull instancetype) | - initWithSearches: |
Creates composite sequential search. More... | |
((unavailable("Use initWithSearches: instead.") | - __attribute__ |
Instance Methods inherited from SYSearchBase | |
(nonnull SYSearchSession *) | - startNewSession |
Creates a new search session associated with this search instance. More... | |
Class Methods | |
((unavailable("Use initWithSearches: instead.") | + __attribute__ |
Properties | |
NSArray< SYSearchBase * > * | searches |
Search objects passed during initialization. More... | |
Performs search using all search objects it contains, sequentially, until one of them finds something. Composite search object can be a part of other composite search objects. The same search object can be used in more than one composite searches.
- (nonnull instancetype) initWithSearches: | (nonnull NSArray< SYSearchBase * > *) | searches |
Creates composite sequential search.
searches | Array of search objects which will perform search sequentially one by one. The order is important, if one search object returns results, next searches will NOT be called. The same search object can be used in more than one composite searches. |
- ((unavailable("Use) initWithSearches: |
Implements SYSearchBase.
+ ((unavailable("Use) initWithSearches: |
Implements SYSearchBase.
|
readnonatomicstrong |
Search objects passed during initialization.