Merge branch 'feature/public_remove_caches' into 'develop'

making removeCaches method public

See merge request BPHV_MIPS/mvm_core!118
This commit is contained in:
Pfeil, Scott Robert 2020-10-19 16:02:28 -04:00
commit 6aebf91024

View File

@ -73,6 +73,13 @@
* @return True if the calling process should continue. */
+ (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 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.
* @param loadObject The load data from the cache or server.
* @param completionHandler The completion handler to load once finished. Returns any loaded view controller and the load.*/