TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Mar 2016 |
SPMSupports SPM | ✗ |
Maintained by William Archimede, William Archimede.
Cool animations for UITableViewCell
in Swift language
In your UITableViewController
, import CellAnimator
and override the tableView:willDisplayCell:forRowAtIndexPath:
function :
import CellAnimator
...
override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
CellAnimator.animateCell(cell, withTransform: CellAnimator.TransformWave, andDuration: 1)
}
Here are the currently available transforms you can use to customize the animation when calling CellAnimator.animateCell:withTransform:andDuration:
:
TransformTipIn
TransformCurl
TransformFan
TransformFlip
TransformHelix
TransformTilt
TransformWave
To try the example project, clone the repo, and run the project.
CellAnimator is available through CocoaPods. To install it, simply add the following line to your Podfile :
pod "CellAnimator"
William Archimede, [email protected]
CellAnimator is available under the MIT license. See the LICENSE file for more info.
If you use it and like it, let me know: @warchimede