/WaveTab

๐ŸŒŠ๐ŸŒŠ A Wave-like UITabBarController ๐ŸŒŠ๐ŸŒŠ

Primary LanguageSwiftMIT LicenseMIT

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.