Popularity
6.6
Growing
Activity
0.0
Stable
742
18
106
Programming language: Swift
License: MIT License
Tags:
UI
Pagination
Latest version: v1.0.8
FlexiblePageControl alternatives and similar libraries
Based on the "Pagination" category.
Alternatively, view FlexiblePageControl alternatives based on common mentions on social networks and blogs.
-
CHIPageControl
A set of cool animated page controls written in Swift to replace boring UIPageControl. Mady by @ChiliLabs - https://chililabs.io -
Pageboy
๐ A simple, highly informative page view controller -
PageControls
This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here: https://dribbble.com/shots/2578447-Page-Control-Indicator-Transitions-Collection -
SlideController
Swipe between pages with an interactive title navigation control. Configure horizontal or vertical chains for unlimited pages amount.
Appwrite - The Open Source Firebase alternative introduces iOS support
Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Promo
appwrite.io
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FlexiblePageControl or a related project?
README
FlexiblePageControl
A flexible UIPageControl like Instagram.
OverView
[](demo.gif)
Install
Carthage
For Installing with Carthage, add it to your Cartfile
.
github "shima11/FlexiblePageControl"
$ carthage update
CocoaPods
For installing with CocoaPods, add it to your Podfile
.
pod "FlexiblePageControl"
$ pod update
Usage
let pageControl = FlexiblePageControl()
pageControl.numberOfPages = 10
view.addSubview(pageControl)
Customize
// color
pageControl.pageIndicatorTintColor = color1
pageControl.currentPageIndicatorTintColor = color2
// size
let config = FlexiblePageControl.Config(
displayCount: 7,
dotSize: 6,
dotSpace: 4,
smallDotSizeRatio: 0.5,
mediumDotSizeRatio: 0.7
)
pageControl.setConfig(config)
Update page
func scrollViewDidScroll(_ scrollView: UIScrollView) {
pageControl.setProgress(contentOffsetX: scrollView.contentOffset.x, pageWidth: scrollView.bounds.width)
}
or
pageControl.setCurrentPage(at: page)
Licence
Licence MIT