Skip to content

Only need a line of code, you can set animation effects for UITableView.

License

Notifications You must be signed in to change notification settings

vast0608/zhUITableViewAnimations

 
 

Repository files navigation

zhUITableViewAnimations

Language Version License Platform

Only need a line of code, you can set animation effects for UITableView.

Example

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

Usage

  _tableView = [[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStylePlain];
  _tableView.zh_reloadAnimationType = zhTableViewAnimationTypeFade;

Preview

<#img src="https://github.com/snail-z/zhUITableViewAnimations/blob/master/Preview/zhUITableViewAnimations.gif?raw=true?raw=true" width="204px" height="365px">

Requirements

  • Requires iOS 7.0 or later
  • Requires Automatic Reference Counting (ARC)

Installation

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

platform :ios, '7.0'
use_frameworks!

target 'You Project' do

pod 'zhUITableViewAnimations', '~> 0.1.0'

end

Author

snail-z, [email protected]

License

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

About

Only need a line of code, you can set animation effects for UITableView.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 93.7%
  • Ruby 6.3%