refact: use DoricSingleton to hold all static or singleton objects

This commit is contained in:
pengfei.zhou
2021-07-21 17:56:03 +08:00
committed by osborn
parent 7d4d6713c6
commit 61c262bcc6
30 changed files with 320 additions and 221 deletions

View File

@@ -49,4 +49,14 @@
* */
+ (void)addJSLoader:(id <DoricLoaderProtocol>)loader;
+ (void)enablePerformance:(BOOL)enable;
+ (BOOL)isEnablePerformance;
+ (void)enableRenderSnapshot:(BOOL)enable;
+ (BOOL)isEnableRenderSnapshot;
+ (void)setEnvironmentValue:(NSDictionary *)value;
@end