A flexible PageControl like Instagram.
For Installing with Carthage, add it to your Cartfile.
github "shima11/FlexiblePageControl"
terminal
carthage update
Initialize
let pageControl = FlexiblePageControl(
pageCount: 10,
dotSize: 6,
dotSpace: 4
)
view.addSubview(pageControl)
Update page
pageControl.selectedPage = page
Licence MIT