In my view controller, I'm reloading tableView in multiple places using below code.
DispatchQueue.main.async { self.tableView.reloadData() }
Looks like I'm re-writing the same code in multiple places. Is it possible to write typealias for this. I know this can be written in a common method and just call it wherever required. Just curious, any alternative ways ??


