From ebf0014a5a6025a3a25dcbe8a514def015da80bc Mon Sep 17 00:00:00 2001 From: "Khan, Arshad" Date: Mon, 19 Oct 2020 15:10:04 -0400 Subject: [PATCH] Update MVMCoreLoadRequestOperation.h --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.h b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.h index dcc957c..f7a274b 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.h +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.h @@ -74,7 +74,10 @@ + (BOOL)cachePages:(nullable NSDictionary *)pages loadObject:(nonnull MVMCoreLoadObject *)loadObject error:(MVMCoreErrorObject *_Nullable *_Nullable)error; /** Removes the Cached pages and modules. - * @param cacheDictionary a dictionary of pages and modules to be removed. */ + * @param cacheDictionary a dictionary of two array of strings: pagesToClear and modulesToClear, + it will remove all the modules from Cache mentioned in modulesToClear array, + it will remove all the pages from Cache mentioned in pagesToClear array. + */ + (void)removeCaches:(nullable NSDictionary *)cacheDictionary; /** Creates the view controller based on the load object passed in.