Latest 1.0.6
Homepage https://github.com/pratik-123/UITableViewCellAnimation
License MIT
Platforms ios 8.0
Authors

UITableViewCellAnimation is collection of animation in swift4 to perform animation in uitableviewcell.

Requirements

  • Xcode 9+
  • Swift 4

How to use

Copy UITableViewCellAnimationKit.swift file in your project and use it simply with UITableViewCell to .method

OR

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

pod 'UITableViewCellAnimation'

If you install pod then "import UITableViewCellAnimation" else simply use like below.
for more info visit UITableViewCellAnimation.

Example

func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
        if (animationType == .bounce){
            cell.bouncingAnimation(forIndex: indexPath.row)
        }else if (animationType == .moveIn){
            cell.moveInAnimation(forIndex: indexPath.row)
        }else if (animationType == .leftIn){
            cell.leftInAnimation(forIndex: indexPath.row)
        }else if (animationType == .rightIn){
            cell.rightInAnimation(forIndex: indexPath.row)
        }else if (animationType == .side){
            if (indexPath.row % 2 == 0){
                cell.leftInAnimation(forIndex: indexPath.row)
            }else{
                cell.rightInAnimation(forIndex: indexPath.row)
            }
        }else{
            cell.fadeInAnimation(forIndex: indexPath.row)
        }
    }

alt tag

Latest podspec

{
    "name": "UITableViewCellAnimation",
    "version": "1.0.6",
    "summary": "UITableViewCellAnimation use for basic tableviewcell animation",
    "description": "UITableViewCellAnimation is collections of animation that helps to best way represent tableview in application.",
    "homepage": "https://github.com/pratik-123/UITableViewCellAnimation",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Pratik Lad": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pratik-123/UITableViewCellAnimation.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "UITableViewCellAnimation/Classes/**/*"
}

Pin It on Pinterest

Share This