WormTabStrip alternatives and similar libraries
Based on the "Tab Bar" category.
Alternatively, view WormTabStrip alternatives based on common mentions on social networks and blogs.
-
animated-tab-bar
:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion -
adaptive-tab-bar
:octocat: AdaptiveController is a 'Progressive Reduction' Swift UI module for adding custom states to Native or Custom iOS UI elements. Swift UI component by @Ramotion -
SwipeViewController
SwipeViewController is a Swift modification of RKSwipeBetweenViewControllers - navigate between pages / ViewControllers -
TabDrawer
Customizable TabBar UI element that allows you to run a block of code upon TabBarItem selection, written in Swift -
ExpandedTabBar
ExpandedTabBar is a very creative designed solution for "more" items in UITabBarController. It's greate experience to have more comfortable and intuitive UI. -
CardTabBar
This library is for adding animation to iOS tabbar items, which is inherited from UITabBarController. -
GGTabBar
Another UITabBar & UITabBarController (iOS Tab Bar) replacement, but uses Auto Layout for arranging it's views hierarchy. -
KYWheelTabController
KYWheelTabController is a subclass of UITabBarController.It displays the circular menu instead of UITabBar.
InfluxDB high-performance time series database

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of WormTabStrip or a related project?
README
Worm Tab Strip
Worm Tab Strip is inspired by android SmartTabStrip, android view pager like library for iOS written in swift.
Basically it was build up by two scroll view, one at the top for holding all the tabs, one for content view for each tab. frame based, not auto layout constraint based.
there are two styles of worm tab strip:
- Bubble style:
- Line style:
Current example build environment
XCode 11.4
Swift 5
Installation
CocoaPods
pod 'WormTabStrip', '~> 1.0'
Manually
- Download and drop
WormTabStrip.swift
andWormTabStripButton.swift
in your project. - Congratulations!
Looking for swift 2.3?
checkout brach swift2.3
Usage example
implement the WormTabStripDelegate in your UIViewController then do
let frame = CGRect(x: 0, y: 40, width: self.view.frame.size.width, height: self.view.frame.size.height - 40)
let viewPager:WormTabStrip = WormTabStrip(frame: frame)
self.view.addSubview(viewPager) //IMPORTANT!
viewPager.delegate = self
viewPager.eyStyle.wormStyel = .bubble
viewPager.eyStyle.isWormEnable = true
viewPager.eyStyle.spacingBetweenTabs = 15
viewPager.eyStyle.dividerBackgroundColor = .red
viewPager.eyStyle.tabItemSelectedColor = .yellow
//default selected tab
viewPager.currentTabIndex = 3
//center the selected tab
viewPager.shouldCenterSelectedWorm = true
viewPager.buildUI()
Need custom style?
checkout WormTabStripStylePropertyies struct, give your custom style
viewPager.eyStyle.wormStyel = .line
viewPager.eyStyle.isWormEnable = false
viewPager.eyStyle.spacingBetweenTabs = 15
viewPager.eyStyle.dividerBackgroundColor = .red
viewPager.eyStyle.tabItemSelectedColor = .yellow
...
before you you call
viewPager.buildUI()
Available customization properties
Property | Description |
---|---|
wormStyel | style of the worm bubble or line |
kHeightOfWorm | worm height for line style |
kHeightOfWormForBubble | worm height for bubble style |
kHeightOfDivider | divider height between top scrollview and conent scrollview |
kHeightOfTopScrollView | Top scrollView height which hold all tabs |
kMinimumWormHeightRatio | minimum worm height Ratio, it should be less than 1 |
kPaddingOfIndicator | Padding of tab button, from text to button each side |
spacingBetweenTabs | space between tab buttons |
isWormEnable | boolean, if false it will not animate worm |
tabItemDefaultFont | font for unSelected tab |
tabItemSelectedFont | font for selected tab |
tabItemDefaultColor | text color for unSelected tab |
tabItemSelectedColor | text color for selected tab |
WormColor | color for worm |
topScrollViewBackgroundColor | back ground color of top scroll view which hold all tabs |
contentScrollViewBackgroundColor | back ground color fo content scroll view |
dividerBackgroundColor | back ground color of divider view between top scroll view and content scroll view |
Apps using worm tab strip:
Bagdax News, screen shots:
Contribute
We would love for you to contribute to WormTabStrip, check the LICENSE
file for more info.
Meta
Ezimet Yusup โ Github โ
Distributed under the MIT license. See LICENSE
for more information.
*Note that all licence references and agreements mentioned in the WormTabStrip README section above
are relevant to that project's source code only.