ZDCSearchOptions

@interface ZDCSearchOptions : NSObject <NSCopying>

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

  • The default value is *, which searches all providers.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull providerToSearch;

    Swift

    var providerToSearch: String { get set }
  • Whether or not to search the local database. When this is enabled, it allows results to be quickly returned via the resultsBlock.

    The default value is YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL searchLocalDatabase;

    Swift

    var searchLocalDatabase: Bool { get set }
  • Whether or not to search the local cache (from previous search queries). When this is enabled, it allows results to be quickly returned via the resultsBlock.

    The default value is YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL searchLocalCache;

    Swift

    var searchLocalCache: Bool { get set }
  • Whether or not to send the search query to the server. You can optionally disable this if you want to perform a local-only search.

    The default value is YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL searchRemoteServer;

    Swift

    var searchRemoteServer: Bool { get set }