feat:add switch for performance,default is off

This commit is contained in:
pengfei.zhou
2021-07-08 11:58:22 +08:00
committed by osborn
parent 34876de69f
commit f5bd4406d9
7 changed files with 86 additions and 29 deletions

View File

@@ -46,6 +46,7 @@ - (void)viewDidLoad {
it.delegate = self;
}]];
[DoricRegistry register:[DemoLibrary new]];
[DoricRegistry enablePerformance:YES];
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {