I have a UITableView that has two modes. When we switch between the modes I have a different number of sections and cells per section. Ideally, it would do some cool anima
To reload all sections, not just one with custom duration.
User duration parameter of UIView.animate to set custom duration.
duration
UIView.animate
UIView.animate(withDuration: 0.4, animations: { [weak self] in guard let `self` = self else { return } let indexSet = IndexSet(integersIn: 0..