[go: up one dir, main page]

Skip to content

mapierce/WaveTab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

66 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

logo

Build Status Version License Platform

πŸ€” About

WaveTab is a UITabBarController that acts like a wave when moving between tabs. It works everywhere you'd expect it to, rotates, and scales according to device. It was inspired by a plat4m design. Please see below for a small screen recording of it in action.

🌊 Demo

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

πŸ“² Installation

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

pod 'WaveTab'

and run pod install

βœ… Requirements

  • Swift 4.2
  • iOS 10.0

πŸ‘©β€πŸ’» How to use

WaveTab can be used both programmatically and through storyboards. To use it programmatically, simply replace UITabBarController with WaveTabBarController and it'll handle the rest. For usage in storyboards, just set your class of the selected UITabBarController to be a WaveTabBarController.

If you inherit from the WaveTabBarController and call func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem), you must call to the super class.

πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Contributing

If you run into any problems, please submit an issue. Pull requests are also welcome! By contributing to WaveTab you agree that your contributions will be licensed under its MIT license.

If you use WaveTab in your app I'd love to hear from you on Twitter!

πŸ™‹β€β™‚οΈ Author

WaveTab was created by Matthew Pierce (@PierceMatthew)

πŸ”– License

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