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.
To run the example project, clone the repo, and run
pod install from the Example directory first.
WaveTab is available through CocoaPods. To install it, simply add the following line to your Podfile:
- Swift 4.2
- iOS 10.0
👩💻 How to use
WaveTab can be used both programmatically and through storyboards. To use it programmatically, simply replace
WaveTabBarController and it'll handle the rest. For usage in storyboards, just set your class of the selected
UITabBarController to be a
If you inherit from the
WaveTabBarController and call
func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem), you must call to the
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!
WaveTab was created by Matthew Pierce (@PierceMatthew)
WaveTab is available under the MIT license. See the LICENSE file for more info.