buttonMap

This commit is contained in:
Suresh, Kamlesh 2018-10-03 17:47:42 -04:00
parent b802ef630d
commit 4c506b5b59
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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;
} }