remove reInit method

This commit is contained in:
王劲鹏
2020-02-27 17:15:22 +08:00
committed by osborn
parent e9197ec173
commit a5f122b627
3 changed files with 7 additions and 10 deletions

View File

@@ -55,8 +55,6 @@ NS_ASSUME_NONNULL_BEGIN
- (void)reload:(NSString *)script;
- (void)reInit;
- (void)onShow;
- (void)onHidden;

View File

@@ -96,12 +96,6 @@ - (void)reload:(NSString *)script {
[self onShow];
}
- (void)reInit {
self.rootNode.viewId = nil;
[self callEntity:DORIC_ENTITY_INIT, self.initialParams, nil];
[self callEntity:DORIC_ENTITY_CREATE, nil];
}
- (void)onShow {
[self callEntity:DORIC_ENTITY_SHOW, nil];
}