For the generate a better crash log, we have replacement on UITableView:performBatchUpdates and UICollectionView::performBatchUpdates.
Please use TracedUITableView::tracedPerformBatchUpdates and TracedUICollectionView::tracedPerformBatchUpdates.
For example, the following code is before change:
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
tableView.performBatchUpdates {
} completion: { _ in
}
}
Now please change it to:
import TBaseFramework
class FolderViewController: UIViewController {
@IBOutlet weak var tableView: TracedUITableView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
tableView.tracedPerformBatchUpdates({
}, completion: { _ in
})
}
}