SYSearchSessionProvider Class Reference

Helper class, conveniently provides always valid session for the corresponding SYSearchBase object. More...

#import <SYSearch.h>

Inheritance diagram for SYSearchSessionProvider:
Collaboration diagram for SYSearchSessionProvider:

Instance Methods

(nonnull instancetype) - initWithSearch:
 Creates SYSearchSessionProvider. More...
 
((unavailable("Use initWithSearch: instead.") - __attribute__
 
(nonnull SYSearchSession *) - session
 Returns always valid search session. If the session returned during previous call is still valid, it will be returned again, otherwise new session will be created. More...
 

Class Methods

((unavailable("Use initWithSearch: instead.") + __attribute__
 

Properties

SYSearchBasesearch
 Search object passed during initialization. More...
 

Detailed Description

Helper class, conveniently provides always valid session for the corresponding SYSearchBase object.

Method Documentation

◆ initWithSearch:

- (nonnull instancetype) initWithSearch: (nonnull SYSearchBase *)  search

Creates SYSearchSessionProvider.

Parameters
searchSearch object which will be used to create new search sessions.

◆ __attribute__ [1/2]

- ((unavailable("Use) initWithSearch:

◆ __attribute__ [2/2]

+ ((unavailable("Use) initWithSearch:

◆ session

- (nonnull SYSearchSession*) session

Returns always valid search session. If the session returned during previous call is still valid, it will be returned again, otherwise new session will be created.

Property Documentation

◆ search

- (SYSearchBase*) search
readnonatomicstrong

Search object passed during initialization.


The documentation for this class was generated from the following file: