Switch to using NSSet to satisfy PR.

This commit is contained in:
Hedden, Kyle Matthew 2018-08-08 18:21:35 -04:00
parent c938d03cc6
commit 6c177efd8f
3 changed files with 3 additions and 3 deletions

View File

@ -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<NSString *> *excludedInitialParameters;
// A flag for if we should always show alerts, even during a background load.
@property (assign) BOOL allowAlertsIfBackgroundRequest;

View File

@ -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<NSString *> *)excludeSections;
- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSSet<NSString *> *)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;

View File

@ -19,7 +19,7 @@
return [self getInitialParametersExcludingSections:nil];
}
- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSArray<NSString *> *)excludeSections {
- (nullable NSDictionary *)getInitialParametersExcludingSections:(nullable NSSet<NSString *> *)excludeSections {
return nil;
}