Skip to content

datle021194/PageIndicatorView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PageIndicatorView

IOS Swift Page Indicator View

Alt text

Installation

Add PageIndicatorView.swift and HexStringToColor.swift to your project

Usage Example

self.parentView.layoutIfNeeded()
self.pageIndicator = PageIndicatorView(frame: self.parentView.bounds, numberOfIndicator: 5)
self.parentViewView.addSubview(self.pageIndicator)

Custom color

self.pageIndicator.setIndicatorColor(UIColor.red)
self.pageIndicator.setCurrentIndicatorColor(UIColor.black)

License and Authorship

Released under the MIT License. Copyright 2017 Dat. Please open issues on GitHub.

Releases

No releases published

Packages

No packages published

Languages