diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreRequestParameters.h b/MVMCore/MVMCore/LoadHandling/MVMCoreRequestParameters.h index b9b17c1..b53ae9d 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreRequestParameters.h +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreRequestParameters.h @@ -64,7 +64,7 @@ typedef NS_ENUM(NSInteger, MFLoadStyle) { @property (assign, nonatomic) BOOL addInitialRequestParameters; // A list of initial parameter sections to blacklist / skip. -@property (nullable, strong, nonatomic) NSArray *excludedInitialParameters; +@property (nullable, strong, nonatomic) NSSet *excludedInitialParameters; // A flag for if we should always show alerts, even during a background load. @property (assign) BOOL allowAlertsIfBackgroundRequest; diff --git a/MVMCore/MVMCore/Session/MVMCoreSessionObject.h b/MVMCore/MVMCore/Session/MVMCoreSessionObject.h index 9b5f2ae..c2a85e6 100644 --- a/MVMCore/MVMCore/Session/MVMCoreSessionObject.h +++ b/MVMCore/MVMCore/Session/MVMCoreSessionObject.h @@ -29,7 +29,7 @@ // Gets inital parameters for request parameters. - (nullable NSDictionary *)getInitialParameters; // Gets inital parameters for request parameters excluding any items given a list of key names. -- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSArray *)excludeSections; +- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSSet *)excludeSections; // Restarts the application session state. Can clear variables and pass a page type if needed. - (void)restartSessionWithPageType:(nullable NSString *)pageType parameters:(nullable NSDictionary *)parameters clearAllVariables:(BOOL)clearAllVariables; diff --git a/MVMCore/MVMCore/Session/MVMCoreSessionObject.m b/MVMCore/MVMCore/Session/MVMCoreSessionObject.m index 57813ac..b49132d 100644 --- a/MVMCore/MVMCore/Session/MVMCoreSessionObject.m +++ b/MVMCore/MVMCore/Session/MVMCoreSessionObject.m @@ -19,7 +19,7 @@ return [self getInitialParametersExcludingSections:nil]; } -- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSArray *)excludeSections { +- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSSet *)excludeSections { return nil; }