GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — contentstack-ios/Contentstack/Config.h at master · contentstack/contentstack-ios

This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Expand file tree

/

Config.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
114 lines (82 loc) · 2.45 KB
/

Config.h

Copy path

File metadata and controls

executable file
·
114 lines (82 loc) · 2.45 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
//
// Config.h
// contentstack
//
// Created by Priyanka Mistry on 01/06/16.
// Copyright © 2016 Contentstack. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Contentstack/ContentstackDefinitions.h>
#import <Contentstack/CSURLSessionDelegate.h>
@interface Config : NSObject
/**----------------------------------------------------------------------------------------
* @name Properties
*-----------------------------------------------------------------------------------------
*/
//MARK: - Contentstack host
/**
Host name of Contentstack api server.
//Obj-C
Config *config = [[Config alloc] init];
config.host = @"api.contentstack.io";
//Swift
var config:Config = Config()
config.host = "api.contentstack.io"
*/
@property (nonatomic, copy) NSString *host;
/**
Region name of Contentstack Database server.
//Obj-C
Config *config = [[Config alloc] init];
region = ContentstackRegion.EU;
//Swift
var config:Config = Config()
region = ContentstackRegion.eu
*/
@property (nonatomic) ContentstackRegion region;
/**
API version of Contentstack api server.
//Obj-C
Config *config = [[Config alloc] init];
NSString version = config.version;
//Swift
var config:Config = Config()
let version = config.version
*/
@property (nonatomic, copy, readonly) NSString *version;
/**
Branch id for the
//Obj-C
Config *config = [[Config alloc] init];
NSString branch = config.branch;
//Swift
var config:Config = Config()
let branch = config.branch
*/
@property (nonatomic, copy) NSString *branch;
/**
Branch id for the
//Obj-C
Config *config = [[Config alloc] init];
config.delegate = [[CSDelegate alloc] init];
//Swift
var config:Config = Config()
config.delegate = CSDelegate()
*/
@property (nullable, retain) id<CSURLSessionDelegate> delegate;
/**
Early access features
//Obj-C
Config *config = [[Config alloc] init];
[config setEarlyAccess:@[@"Taxonomy", @"Teams", @"Terms", @"LivePreview"]];
//Swift
let config = Config()
config.setEarlyAccess(["Taxonomy", "Teams", "Terms", "LivePreview"])
*/
@property (nonatomic, strong, nullable) NSArray<NSString *> *setEarlyAccess;
/**
Set early access features
@param setearlyAccess An array of early access feature names
*/
- (NSDictionary<NSString *, NSString *> *)earlyAccessHeaders;
@end
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.