DGScrollableSegmentControl
DGScrollableSegmentControl copied to clipboard
An elegant scrollable segment control.
DGScrollableSegmentControl
An elegant scrollable segment control.

Usage
- Drag DGScrollableSegmentControl.swift to your project.
- Place a View on Storybard and assign DGScrollableSegmentControl class to that View.
- Make outlet connection
- Implement DGScrollableSegmentControlDataSource and DGScrollableSegmentControlDelegate
DataSource Methods to implement
func numbersOfItem() -> Int
func itemfor(_ index: Int) -> DGItem
Delegate Methods to implement
func didSelect(_ item: DGItem, atIndex index: Int)
For more reference See demo project