Skip to content

Releases: mergesort/TableFlip

Sensible Defaults

10 Nov 18:08
Compare
Choose a tag to compare
  • Add default timeInterval parameters in animation enums.
  • The library now requires Swift 5.1 to support default parameters.

The Highest Swift Version So Far

31 Dec 00:19
Compare
Choose a tag to compare
  • Adding Swift 4.2 support.

More Animated Than Ever ✨

27 Sep 15:20
Compare
Choose a tag to compare
  • 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 ⚠️

  • animateTableView() and animateCells() have been renamed to animate() and are differentiated based on the parameter passed in.

  • Renaming reloadData(smoothly: animated:) to reloadData(inPlace: animated:).

Bug or feature?

28 Aug 17:38
Compare
Choose a tag to compare

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

27 Aug 19:01
Compare
Choose a tag to compare

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 (╯°□°)╯︵ ┻━┻

16 Nov 01:43
Compare
Choose a tag to compare