Latest 0.0.5
Homepage https://github.com/ioramashvili/TableViewReloadAnimation
License MIT
Platforms ios 9.0
Authors

Reload tableview with animation

right to left bottom to top left to right top to bottom
TableViewReloadAnimation TableViewReloadAnimation TableViewReloadAnimation TableViewReloadAnimation
with header and footer .rotation3D(type: .ironMan) .rotation3D(type: .thor) .rotation3D(type: .spiderMan)
TableViewReloadAnimation TableViewReloadAnimation TableViewReloadAnimation TableViewReloadAnimation
.rotation3D(type: .captainMarvel) .rotation3D(type: .doctorStrange) .rotation3D(type: .daredevil) .rotation3D(type: .deadpool)
TableViewReloadAnimation TableViewReloadAnimation TableViewReloadAnimation TableViewReloadAnimation

Requirements

  • iOS 9.0+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate TableViewReloadAnimation into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'TableViewReloadAnimation', '~> 0.0.5'
end

Then, run the following command:

$ pod install

Usage

import TableViewReloadAnimation

in viewDidAppear

// left animation
tableView.reloadData(
    with: .simple(duration: 0.45, direction: .left(useCellsFrame: true),
    constantDelay: 0))

// right with spring
tableView.reloadData(
    with: .spring(duration: 0.45, damping: 0.65, velocity: 1, direction: .right(useCellsFrame: false),
    constantDelay: 0))

// rotation with spring
tableView.reloadData(
    with: .spring(duration: 0.45, damping: 0.65, velocity: 1, direction: .rotation(angle: Double.pi / 2),
    constantDelay: 0))

// rotation 3d
tableView.reloadData(
    with: .simple(duration: 0.75, direction: .rotation3D(type: .ironMan),
    constantDelay: 0))

Latest podspec

{
    "name": "TableViewReloadAnimation",
    "version": "0.0.5",
    "summary": "Animate tableView cells",
    "description": "TableView reaload animations with lot of options",
    "homepage": "https://github.com/ioramashvili/TableViewReloadAnimation",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "shota ioramashvili": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ioramashvili/TableViewReloadAnimation.git",
        "tag": "0.0.5"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "TableViewReloadAnimation/UITableView+Extension.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This