TableViewReloadAnimation

Animate tableView cells


Keywords
animation, ios, swift-3, tableview
License
MIT
Install
pod try TableViewReloadAnimation

Documentation

Reload tableview with animation

right to left bottom to top left to right top to bottom
rotate

Example

Download project and play

Requirements

  • iOS 9.0+

Usage

// left animation
tableView.reloadData(with: .simple(duration: 0.45, direction: .left(useCellsFrame: true), constantDelay: 0))

// right spring animation
tableView.reloadData(with: .spring(duration: 0.45, damping: 0.65, velocity: 1, direction: .right(useCellsFrame: false), constantDelay: 0))

// rotation spting animation
tableView.reloadData(with: .spring(duration: 0.45, damping: 0.65, velocity: 1, direction: .rotation(angle: Double.pi / 2), constantDelay: 0))