TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2015 |
SPMSupports SPM | ✗ |
Maintained by Siavash Alipour.
SABarButtonView is a simple UIView subclass that creates tabBarButtons and handle the toggles between the views for you. It is easy to use since you can modify almost all the TabBar component inside the interface builder.
To run the example project, clone the repo, and run pod install
from the Example directory first.
SABarButtonView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SABarButtonView"
Simply add a UIView to your UIViewController and change to class to SABarButtonView. Then you can modify the properties by tapping on Attribute inspecter.
For example lets say you have 3 TabBarButtons. You also need to have 3 toggle able views as well. Simply create 3 custom Views and connect them to toggleAbleViews OutletCollection of the SABarButtonView.
No all you need is to have an outlout for your SABarButtonView in you ViewController and set the “btnsTitles” property of the SABarButtonView.
@IBOutlet var tabBar:SABarButtonView!
tabBar.btnsTitles = ["View 1","View 2","View 3"]
Version 0.1.1
Version 0.1.0
SABarButtonView is available under the MIT license. See the LICENSE file for more info.