CHIPageControl alternatives and similar libraries
Based on the "Pagination" category.
Alternatively, view CHIPageControl alternatives based on common mentions on social networks and blogs.
It is a nice alternative for UIPageViewController built using power of generic types. Swipe between pages with an interactive title navigation control. Configure horizontal or vertical chains for unlimited pages amount.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of CHIPageControl or a related project?
CHIPageControl is a set of cool animated page controls to replace boring UIPageControl. We were inspired by Jardson Almeida dribbble shot and implemented a few more page controls.
Made with ❤️ by Chili Labs.
- iOS 8.0+
- Xcode 8+
- Swift 3
Just add the
CHIPageControl folder to your project.
use CocoaPods with Podfile:
pod 'CHIPageControl', '~> 0.1.3' # individual page control pod 'CHIPageControl/Aji' pod 'CHIPageControl/Aleppo' pod 'CHIPageControl/Chimayo' pod 'CHIPageControl/Fresno' pod 'CHIPageControl/Jalapeno' pod 'CHIPageControl/Jaloro' pod 'CHIPageControl/Paprika' pod 'CHIPageControl/Puya'
use Carthage with Cartfile
github "ChiliLabs/CHIPageControl" ~> 0.1.3
Just drop UIView and set its class to be one of CHIPageControls.
let pageControl = CHIPageControlAji(frame: CGRect(x: 0, y:0, width: 100, height: 20)) pageControl.numberOfPages = 4 pageControl.radius = 4 pageControl.tintColor = .red pageControl.currentPageTintColor = .green pageControl.padding = 6
Adding multiple tintColors
// The size of the array needs to match the numberOfPages or it will throw an fatal error pageControl.tintColors = [UIColor.black, UIColor.yellow, UIColor.black, UIColor.black] // or // If it is the first one, it will fill all colors with the selected tintColor and then replace the colors with the desired one pageControl.insertTintColor(UIColor.yellow, position: 1)
//update dynamically pageControl.progress = 0.5 //set progress with animation pageControl.set(progress: 2, animated: true)
You can hear touch events in any of the page indicators.
pageControl.enableTouchEvents = true
CHIBasePageControlDelegate to catch touch events.
func didTouch(pager: CHIBasePageControl, index: Int)
Page Controls 🌶️🌶️🌶️
CHIPageControl is released under the MIT license. See [LICENSE](./LICENSE) for details.
*Note that all licence references and agreements mentioned in the CHIPageControl README section above are relevant to that project's source code only.