Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nil-biribiri/niltabbaranimator

Make UITabbarVC switching animate
https://github.com/nil-biribiri/niltabbaranimator

animate animated animation swift swift-library swift3 transition transition-animation uitabbarcontroller

Last synced: about 1 month ago
JSON representation

Make UITabbarVC switching animate

Awesome Lists containing this project

README

        

# NilTabbarAnimator

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

Make UITabBarController switching tab with an animation.

![Preview](https://media.giphy.com/media/3ohhwLl8un1NyzkFyg/giphy.gif)

## Requirements
Swift > 3.0

## Installation

NilTabbarAnimator is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'NilTabbarAnimator'
```

## Usage

```swift
import UIKit
import NilTabbarAnimator // Import NilTabbarAnimator first

class ViewController: UITabBarController, UITabBarControllerDelegate {

let tabbarDelegate = ScrollingTabBarControllerDelegate(withTransitionDuration: 0.2)

override func viewDidLoad() {
super.viewDidLoad()

// Set UITabBarControllerDelegate
self.delegate = tabbarDelegate

}

}
```

## Author

[email protected]

## License

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