This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///Animazione per la visualizzazzione delle celle delle tableView | |
func animateTable(_ tableView: UITableView) { | |
tableView.reloadData() | |
let cells = tableView.visibleCells | |
let tableHeight: CGFloat = tableView.bounds.size.height | |
for i in cells { | |
let cell: TableViewCellController = i as! TableViewCellController | |
cell.transform = CGAffineTransform(translationX: 0, y: tableHeight) | |
} | |
var index = 0 |