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.