UITableView
class UITableView : UIScrollView, NSCoding, UIDataSourceTranslating
-
Undocumented
Declaration
Swift
public typealias TableViewRowAnimation = UITableViewRowAnimation -
Animate reload in a batch update
Declaration
Swift
public func reload<T: DeepHashable>( changes: [Change<T>], section: Int = 0, insertionAnimation: TableViewRowAnimation = .automatic, deletionAnimation: TableViewRowAnimation = .automatic, replacementAnimation: TableViewRowAnimation = .automatic, completion: @escaping (Bool) -> Void)Parameters
changesThe changes from diff
sectionThe section that all calculated IndexPath belong
insertionAnimationThe animation for insert rows
deletionAnimationThe animation for delete rows
replacementAnimationThe animation for reload rows
completionCalled when operation completes
View on GitHub
UITableView Extension Reference