buttonMap
This commit is contained in:
parent
b802ef630d
commit
4c506b5b59
@ -23,6 +23,9 @@
|
|||||||
// The data for hte page that was loaded
|
// The data for hte page that was loaded
|
||||||
@property (nullable, strong, nonatomic) NSDictionary *pageJSON;
|
@property (nullable, strong, nonatomic) NSDictionary *pageJSON;
|
||||||
|
|
||||||
|
// Contains the button map
|
||||||
|
@property (nullable, nonatomic, strong) NSDictionary *buttonMap;
|
||||||
|
|
||||||
// the modules that are needed
|
// the modules that are needed
|
||||||
@property (nullable, strong, nonatomic) NSDictionary *modulesJSON;
|
@property (nullable, strong, nonatomic) NSDictionary *modulesJSON;
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
if (self = [self initWithRequestParameters:requestParameters dataForPage:dataForPage delegate:delegate]) {
|
if (self = [self initWithRequestParameters:requestParameters dataForPage:dataForPage delegate:delegate]) {
|
||||||
self.pageJSON = pageJSON;
|
self.pageJSON = pageJSON;
|
||||||
self.modulesJSON = modulesJSON;
|
self.modulesJSON = modulesJSON;
|
||||||
|
|
||||||
|
self.buttonMap = [pageJSON dictionaryForKey:@"ButtonMap"];
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user