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/Contentstack.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

/

Contentstack.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
92 lines (68 loc) · 2.73 KB
/

Contentstack.h

Copy path

File metadata and controls

92 lines (68 loc) · 2.73 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
//
// Contentstack.h
// Contentstack
//
// Created by Reefaq on 22/06/15.
// Copyright (c) 2015 Contentstack. All rights reserved.
//
// sdk-version: 3.10.1
#import <Foundation/Foundation.h>
#import <Contentstack/Config.h>
#import <Contentstack/Stack.h>
#import <Contentstack/ContentType.h>
#import <Contentstack/Taxonomy.h>
#import <Contentstack/Entry.h>
#import <Contentstack/Query.h>
#import <Contentstack/Asset.h>
#import <Contentstack/AssetLibrary.h>
#import <Contentstack/QueryResult.h>
#import <Contentstack/Group.h>
#import <Contentstack/SyncStack.h>
#import <Contentstack/CSURLSessionDelegate.h>
@class Stack;
BUILT_ASSUME_NONNULL_BEGIN
@interface Contentstack : NSObject
/**----------------------------------------------------------------------------------------
* @name Intialize Stack
*-----------------------------------------------------------------------------------------
*/
/**
Create a new Stack instance with stack's apikey, token, environment name and config.
//Obj-C
Config *config = [[Config alloc] init];
config.host = @"customcontentstack.io";
Stack *stack = [Contentstack stackWithAPIKey:@"API_KEY" accessToken:@"DELIVERY_TOKEN" environmentName:@"prod" config:config];
//Swift
let config:Config = Config()
config.host = "customcontentstack.io"
let stack:Stack = Contentstack.stackWithAPIKey("API_KEY",accessToken:"DELIVERY_TOKEN", environmentName:@"prod", config:config)
@param apiKey stack apiKey.
@param accessToken stack accessToken.
@param environmentName environment name in which to perform action.
@param config config of stack.
@return new instance of Stack.
*/
+ (Stack*)stackWithAPIKey:(NSString*)apiKey accessToken:(NSString *)accessToken environmentName:(NSString*)environmentName config:(Config *)config;
/**
Create a new Stack instance with stack's apikey, token and environment name.
//Obj-C
Stack *stack = [Contentstack stackWithAPIKey:@"API_KEY" accessToken:@"DELIVERY_TOKEN" environmentName:@"prod"];
//Swift
let stack:Stack = Contentstack.stackWithAPIKey("API_KEY", accessToken:"DELIVERY_TOKEN", environmentName:@"prod")
@param apiKey stack apiKey.
@param token accessToken of stack.
@param environmentName environment name in which to perform action.
@return new instance of Stack.
*/
+ (Stack*)stackWithAPIKey:(NSString*)apiKey accessToken:(NSString*)token environmentName:(NSString*)environmentName;
/**
Cancel all network request for Stack instance.
//Obj-C
[Contentstack cancelAllRequestsOfStack:stack];
//Swift
Contentstack.cancelAllRequestsOfStack(stack)
@param stack instance of Stack.
*/
+ (void)cancelAllRequestsOfStack:(Stack*)stack;
@end
BUILT_ASSUME_NONNULL_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.