Cuberto / flashy-tabbar翻译 / 编辑

最近提交:2天前
创建时间:2018.12.01

语言构成

Swift96.2%
Ruby2.0%
Objective-C1.9%

README

CBFlashyTabBarController

GitHub license CocoaPods Carthage compatible Swift 4.0

Animation

Requirements

  • iOS 9.0+
  • xCode 9

Example

To run the example project, clone the repo, and run ExampleApp scheme from FlashyTabBar.xcodeproj

Requirements

  • iOS 10.0+
  • xCode 9

Installation

CocoaPods

To install Flashy TabBar add the following line to your Podfile:

pod 'CBFlashyTabBarController'

Then run pod install.

Carthage

Make the following entry in your Cartfile:

github "Cuberto/flashy-tabbar"

Then run carthage update.

If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.

Manual

Add CBFlashyTabBarController folder to your project

Usage

With Storyboard

  1. Create a new UITabBarController in your storyboard or nib.

  2. Set the class of the UITabBarController to CBFlashyTabBarController in your Storyboard or nib.

  3. Add a custom image icon and title for UITabBarItem of each child ViewContrroller

Without Storyboard

  1. Import CBFlashyTabBarController
  2. Instantiate CBFlashyTabBarController
  3. Add some child conrollers and don't forget to set them tabBar items with title and image

Author

Cuberto Design, info@cuberto.com

License

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

讨论区

说说你的看法