Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 2.32 KB

README.md

File metadata and controls

54 lines (32 loc) · 2.32 KB

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.