Inherits from SCDataStore : NSObject
Declared in SCWebServiceStore.h

Overview

SCWebServiceStore is an SCDataStore subclass that encapsulates remote web service storage, providing means for the SC framework to communicate with this storage to fetch, add, update and remove data objects.

Note: It is very rare when you’ll need to create an SCWebServiceStore instance yourself, as it’s typically automatically created for you when you use the SCWebServiceDefinition data definition. For example, when you use the SCArrayOfObjectsSection initializer method called [SCArrayOfObjectsSection sectionWithHeaderTitle:webServiceDefinition:batchSize:], SCArrayOfObjectsSection automatically sets its dataStore property by calling your webServiceDefinition’s [SCDataDefinition generateCompatibleDataStore:] method.

Note: For more information on data stores, check out the SCDataStore base class documentation.

Properties

sessionConfiguration

The session configuration used by the web service data store.

@property (nonatomic, strong, readonly) NSURLSessionConfiguration *sessionConfiguration

Declared In

SCWebServiceStore.h

Class Methods

storeWithDefaultWebServiceDefinition:

Allocates and returns an initialized SCWebServiceStore given a default web service definition.

+ (instancetype)storeWithDefaultWebServiceDefinition:(SCWebServiceDefinition *)definition

Declared In

SCWebServiceStore.h

Instance Methods

initWithDefaultWebServiceDefinition:

Returns an initialized SCWebServiceStore given a default web service definition.

- (instancetype)initWithDefaultWebServiceDefinition:(SCWebServiceDefinition *)definition

Declared In

SCWebServiceStore.h