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
changes
The changes from diff
section
The section that all calculated IndexPath belong
insertionAnimation
The animation for insert rows
deletionAnimation
The animation for delete rows
replacementAnimation
The animation for reload rows
completion
Called when operation completes