An open API service indexing awesome lists of open source software.

https://github.com/harshalrj25/animatablereload

Add animations to tableview and collectionview with just a single line of code
https://github.com/harshalrj25/animatablereload

animation animation-library animations collectionview ios ios-animation ios-demo ios-swift ios-tutorial ios-ui reload swift swift5 tableview uicollectionview uitableview

Last synced: 9 days ago
JSON representation

Add animations to tableview and collectionview with just a single line of code

Awesome Lists containing this project

README

        

# AnimatableReload

[![CI Status](http://img.shields.io/travis/harshalrj25/AnimatableReload.svg?style=flat)](https://travis-ci.org/harshalrj25/AnimatableReload)
[![Version](https://img.shields.io/cocoapods/v/AnimatableReload.svg?style=flat)](http://cocoapods.org/pods/AnimatableReload)
[![License](https://img.shields.io/cocoapods/l/AnimatableReload.svg?style=flat)](http://cocoapods.org/pods/AnimatableReload)
[![Platform](https://img.shields.io/cocoapods/p/AnimatableReload.svg?style=flat)](http://cocoapods.org/pods/AnimatableReload)

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](https://github.com/harshalrj25/AnimatableReload/blob/master/tableview.gif "TableView")
![alt text](https://github.com/harshalrj25/AnimatableReload/blob/master/collectionview.gif "CollectionView")

## 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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "AnimatableReload"
```

## Author :innocent:

My email id, [email protected]

Harshal Jadhav





## License

It's all your's :gift: