项目作者: nil-biribiri

项目描述 :
Make UITabbarVC switching animate
高级语言: Shell
项目地址: git://github.com/nil-biribiri/NilTabbarAnimator.git
创建时间: 2017-09-04T07:32:24Z
项目社区:https://github.com/nil-biribiri/NilTabbarAnimator

开源协议:MIT License

下载


NilTabbarAnimator

nilc.nolan@gmail.com/NilTabbarAnimator"">CI Status
Version
License
Platform

Make UITabBarController switching tab with an animation.

Preview

Requirements

Swift > 3.0

Installation

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

  1. pod 'NilTabbarAnimator'

Usage

  1. import UIKit
  2. import NilTabbarAnimator // Import NilTabbarAnimator first
  3. class ViewController: UITabBarController, UITabBarControllerDelegate {
  4. let tabbarDelegate = ScrollingTabBarControllerDelegate(withTransitionDuration: 0.2)
  5. override func viewDidLoad() {
  6. super.viewDidLoad()
  7. // Set UITabBarControllerDelegate
  8. self.delegate = tabbarDelegate
  9. }
  10. }

Author

nilc.nolan@gmail.com

License

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