MRDomainConfig Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in MRConfig.h

Overview

Holds Meridian domain/host configuration data for your application.

  domainRegion

Flag to control the Meridian Editor data storage restrictions [MRDomainRegion (ex: US vs EU)]

@property (nonatomic) MRDomainRegion domainRegion

Declared In

MRConfig.h

– reset

Reset domainConfig to default values

- (void)reset

Declared In

MRConfig.h

– resetWithDomainName:

Reset domainConfig using a domainName

- (void)resetWithDomainName:(NSString *)domainName

Parameters

domainName

domain name used to reset the domainConfig(ex: “staging-edit.meridianapps.com”)

Declared In

MRConfig.h

– resetWithEditorURL:

Reset domainConfig using a well formed url badly formed URLS will be silently ignored

- (void)resetWithEditorURL:(NSString *)urlString

Parameters

urlString

editor URL used to reset the domainConfig (ex: “https://edit-eu.meridianapps.com”)

Declared In

MRConfig.h

– editorURL

Full URL to the Meridian Editor, adjusted by the settings and override

- (NSString *)editorURL

Return Value

The editor URL (ex: “https://edit-eu.meridianapps.com”)

Declared In

MRConfig.h