Latest 0.1.0
Homepage https://github.com/harshalrj25/AnimatableReload
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Animate tableview and collectionview with few lines of code.

 pod "AnimatableReload"

 import AnimatableReload

 AnimatableReload.reload(tableView: self.demoTableView, animationDirection: "up")

Instead of using reload method of tableview and collectionview, just use the above method to reload with animations.
you can also specify the directions of animations.

alt text
alt text

Usage

For tableview:

   AnimatableReload.reload(tableView: self.demoTableView, animationDirection: "up")

For collectionview:

  AnimatableReload.reload(collectionView: self.demoCollectionView, animationDirection: "up")

You can animate from following directions:

  AnimatableReload.reload(tableView: self.demoTableView, animationDirection: "up")
  AnimatableReload.reload(tableView: self.demoTableView, animationDirection: "down")
  AnimatableReload.reload(tableView: self.demoTableView, animationDirection: "left")
  AnimatableReload.reload(tableView: self.demoTableView, animationDirection: "right")

  AnimatableReload.reload(collectionView: self.demoCollectionView, animationDirection: "up")
  AnimatableReload.reload(collectionView: self.demoCollectionView, animationDirection: "down")
  AnimatableReload.reload(collectionView: self.demoCollectionView, animationDirection: "left")
  AnimatableReload.reload(collectionView: self.demoCollectionView, animationDirection: "right")

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "AnimatableReload"

Author

harshalrj25, [email protected]

License

AnimatableReload is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AnimatableReload",
    "version": "0.1.0",
    "summary": "Animate tableview and collectionview while reloading",
    "description": "add animations to your tableview and collectionview while reloading",
    "homepage": "https://github.com/harshalrj25/AnimatableReload",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "harshalrj25": "[email protected]"
    },
    "source": {
        "git": "https://github.com/harshalrj25/AnimatableReload.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AnimatableReload/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This