fernandodelrio / SMPageControl-Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMPageControl-Swift

Screenshot

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.

About

License:MIT License


Languages

Language:Swift 100.0%