Modular - Tabs (Horizontal CollectionView) to use in your project.
This repo can be used as an example for
Feature | Supported | Note |
---|---|---|
VIPER architecture | Yes | |
Horizontal scroller | Yes |
- Coming soon!
- Coming soon!
#1
- Drag & drop the Modules folder into your project
- Give connections for TabView from nib to your VC
- Declare the presenter
// Setup the Tabs.
override func viewDidLoad() {
presenter?.updateView()
}
#2
- Extend PresenterToViewProtocol
// Setup the Data.
func showData() {
tabView.dataArray = [String]//Format required
}
#3
- Extend TabDelegate
// Selection
func tabSelected(menu: HorizontalTabsView, index: Int) {
//Callback for selection!
}
- Finish my changes
- Push my commits to GitHub
- Open a pull request
- Create Pod
- Publish Pod