Releases: mergesort/TableFlip
Sensible Defaults
The Highest Swift Version So Far
- Adding Swift 4.2 support.
More Animated Than Ever ✨
-
Adding a completion handler when
reloadData(inPlace: animated:)
is called synchronously. -
A fix for
animateWithFade()
potentially calling it's completion block multiple times.
⚠️ Breaking changes ⚠️
-
andanimateTableView()
have been renamed toanimateCells()
animate()
and are differentiated based on the parameter passed in. -
Renaming
toreloadData(smoothly: animated:)
reloadData(inPlace: animated:)
.
Bug or feature?
This release updates behavior that cell animations will fire their completion block after all the cell animations have completed, not after each individual animation.
It is not a minor semantic version bump because while it is a bug fix, it produces a change in behavior which some people may have been relying on.
Flip select indices
This update adds an indexPaths
parameter to func animateCells
.
func animateCells(animation: TableViewAnimation.Cell, completion: (() -> Void)? = nil)
func animateCells(animation: TableViewAnimation.Cell, indexPaths: [IndexPath]? = nil, completion: (() -> Void)? = nil)
This change is non-breaking, since indexPaths
parameter is optional. Your old code should continue to work as it did before.
Flipping out (╯°□°)╯︵ ┻━┻
Now calm down.