SMPageControl-Swift
Installation
Download the repository and add the file SMPageControl.swift to your project.
Example Usage
@IBOutlet var spacePageControl1: SMPageControl!
pageControl.setPageIndicatorImage(UIImage(named: "pokemen_color")!)
pageControl.setCurrentPageIndicatorImage(UIImage(named: "pikatsho")!)
spacePageControl.pageIndicatorTintColor = UIColor.redColor().colorWithAlphaComponent(0.2)
spacePageControl.currentPageIndicatorTintColor = UIColor.redColor()
spacePageControl.setPageIndicatorMaskImage(UIImage(named: "Pokemon")!)
License
SMPageControl is available under the MIT license.