TTKitConfiguration Class Reference

Inherits from NSObject
Declared in TTKitConfiguration.h

Overview

Object used to configure TTKit

– initWithAppGroupIdentifier:enviroment:

- (instancetype _Nonnull)initWithAppGroupIdentifier:(NSString *_Nullable)appGroupIdentifier enviroment:(TTKitEnvironment)enviroment

  persistanceType

A value that specifies whether information gets stored on disk or strictly in memory

@property (nonatomic) TTKitPersistanceType persistanceType

Declared In

TTKitConfiguration.h

  environment

A value that specifies whether TTKit hits production environment endpoints or test environment endpoints

@property (nonatomic, readonly) TTKitEnvironment environment

Declared In

TTKitConfiguration.h

  agentName

A string that identifies your developer account.

@property (nonatomic, nullable) NSString *agentName

Declared In

TTKitConfiguration.h

  appGroupIdentifier

An identifier for the app group that is used to setup a shared resources directory to use with extensions.

@property (nonatomic, readonly, nullable) NSString *appGroupIdentifier

Declared In

TTKitConfiguration.h

– setLogDelegate:logLevelFlag:forComponentFlag:

Sets the log manager and configures it based on params.

- (void)setLogDelegate:(id<TTLogDelegate> _Nullable)delegate logLevelFlag:(TTLogLevelFlag)logLevelFlag forComponentFlag:(TTLogComponentFlag)forComponentFlag

Parameters

delegate

A delegate object for the log manager

logLevelFlag

A value indicating how specific logging should be. For possible values, see TTLogLevelFlag

forComponentFlag

A value indicating what type of information should be logged. For possible values, see TTLogComponentFlag.

Declared In

TTKitConfiguration.h