SimpleConfigurationStorage Class Reference

Inherits from NSObject
Conforms to ConfigurationStorage
Declared in SimpleConfigurationStorage.h
SimpleConfigurationStorage.m

Overview

Default implementation of ConfigurationStorage protocol that uses file system to store configuration data.

Other Methods

+ storageWithPath:

+ (instancetype)storageWithPath:(NSString *)path

Parameters

path

Absolute path within file system.

Discussion

Declared In

SimpleConfigurationStorage.h

Other Methods

– saveConfiguration:

Stores configuration data.

- (void)saveConfiguration:(NSData *)buffer

Discussion

Stores configuration data.

Declared In

ConfigurationStorage.h

– clearConfiguration

Removes previously stored configuration data.

- (void)clearConfiguration

Discussion

Removes previously stored configuration data.

Declared In

ConfigurationStorage.h

– loadConfiguration

Loads last stored configuration data.

- (NSData *)loadConfiguration

Discussion

Loads last stored configuration data.

Declared In

ConfigurationStorage.h