Skip to content

Cool animations for UITableViewCell in Swift language

License

dmrepos/CellAnimator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CellAnimator

CI Status Version License Platform

Summary

Cool animations for UITableViewCell in Swift language

Usage

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)
}

Configuration

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

Example

To try the example project, clone the repo, and run the project.

Requirements

  • ARC
  • iOS 8

Installation

CellAnimator is available through CocoaPods. To install it, simply add the following line to your Podfile :

pod "CellAnimator"

Author

William Archimede, william.archimede@hoodbrains.com

License

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

About

Cool animations for UITableViewCell in Swift language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 87.6%
  • Ruby 12.4%