button map read only property
This commit is contained in:
parent
41a454440e
commit
adda2f461b
@ -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, readonly) NSDictionary *buttonMap;
|
||||||
|
|
||||||
// the modules that are needed
|
// the modules that are needed
|
||||||
@property (nullable, strong, nonatomic) NSDictionary *modulesJSON;
|
@property (nullable, strong, nonatomic) NSDictionary *modulesJSON;
|
||||||
|
|
||||||
|
|||||||
@ -22,6 +22,10 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSDictionary *) buttonMap {
|
||||||
|
return [self.pageJSON dictionaryForKey:@"ButtonMap"];
|
||||||
|
}
|
||||||
|
|
||||||
- (nullable instancetype)initWithRequestParameters:(nullable MVMCoreRequestParameters *)requestParameters dataForPage:(nullable NSDictionary *)dataForPage delegate:(nullable NSObject<MVMCoreLoadDelegateProtocol,MVMCorePresentationDelegateProtocol,MVMCoreActionDelegateProtocol>*)delegate {
|
- (nullable instancetype)initWithRequestParameters:(nullable MVMCoreRequestParameters *)requestParameters dataForPage:(nullable NSDictionary *)dataForPage delegate:(nullable NSObject<MVMCoreLoadDelegateProtocol,MVMCorePresentationDelegateProtocol,MVMCoreActionDelegateProtocol>*)delegate {
|
||||||
if (self = [self initWithDelegate:delegate]) {
|
if (self = [self initWithDelegate:delegate]) {
|
||||||
self.requestParameters = requestParameters;
|
self.requestParameters = requestParameters;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user