TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | Apache 2 |
ReleasedLast Release | Sep 2016 |
SPMSupports SPM | ✗ |
Maintained by Nattawut Singhchai.
CharPageControl is a GLYPH style for pagination written in swift.
You can install this library in 2 ways
Copy CharPageControl.swift to your project.
import CharPageControl
class ViewController: UIViewController{
@IBOutlet
var pageControl: CharPageControl!
}
func scrollViewDidScroll(scrollView: UIScrollView) {
let currentPage = (CGFloat(pageCount) * scrollView.contentOffset.x)/scrollView.contentSize.width
pageControl.currentPage = currentPage
}
And more on CharPageControlExample.xcodeproj
This project was Inspired by Virakri Jinangkul
Nattawut Singhchai, [email protected]
CharPageControl is available under the Apache 2.0 license. See the LICENSE file.