This is a selection of custom page controls to replace UIPageControl

Overview

PageControls

Version License Platform

This is a selection of custom page controls to replace UIPageControl, inspired by a dribbble found here. The appearance (color, size, # of pages) of each control can be customized using Interface Builder.

Demo

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

NOTE: IBDesignable is currently not rendering when using cocoapods (version 1.0.1). Open Issue

PageControls is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "PageControls"

Installation (individual controls)

Each page control can be installed individually using cocoapods subspecs with one of the following lines:

pod "PageControls/SnakePageControl"
pod "PageControls/FilledPageControl"
pod "PageControls/PillPageControl"
pod "PageControls/ScrollingPageControl"

Manual Installation

Each page control file is standalone and can be installed individually by copy/pasting the respective file into your project.

Author

Kyle Zaragoza, [email protected] Twitter: @KyleZaragoza

License

PageControls is available under the MIT license. See the LICENSE file for more info.

Comments
  • Altering the indicator radius does not update the active indicator size

    Altering the indicator radius does not update the active indicator size

    I am only using the SnakePageControl. I believe it has to do with the activeLayer being lazy because the only way for me to make the active indicator not be 5 points is to manually change the file's indicatorRadius property within the SnakePageControl.swift file itself.

    opened by joeljfischer 2
  • Center page control in its frame

    Center page control in its frame

    I'm facing an issue with the FilledPageControl where the items are not centered horizontally in the frame of the page control.

    IB displays an error if I don't set a width or x constraint so the page control can't center itself in its superview. If I apply a center horizontally constraint it doesn't fix the error either.

    opened by amarcadet 2
  • Swift Compiler Error

    Swift Compiler Error

    ~/Pods/LLCycleScrollView/Lib/LLCycleScrollView/LLFilledPageControl.swift:119:34: Type 'CAShapeLayerFillRule' (aka 'NSString') has no member 'evenOdd'

    somebody help With Xcode Version 10.1 (10B61) With Swift 4.2

    opened by JeremeLau 1
  • Changelog and Swift version

    Changelog and Swift version

    Hi,

    Could you put a Changelog in the project or/and add information with tags/release ?

    Could you also put Swift version requirements? It seems like from 0.x to 1.x we moved from Swift 2.x to 3.x.

    Thanks for your work!

    opened by amarcadet 1
  • Compiler errors in Xcode 8 Beta 6

    Compiler errors in Xcode 8 Beta 6

    I got this error:

    ../Pods/PageControls/PageControls/Classes/SnakePageControl.swift:118:24: Method does not override any method from its superclass

    If I remove the override this is the result:

    .../Pods/PageControls/PageControls/Classes/FilledPageControl.swift:118:24: Method 'intrinsicContentSize()' with Objective-C selector 'intrinsicContentSize' conflicts with getter for 'intrinsicContentSize' from superclass 'UIView' with the same Objective-C selector

    This happens four times in the same file.

    opened by xoniq 1
  • Manual Installation

    Manual Installation

    CocoaPods and Carthage are awesome tools and make our life really easier, but there are some devs who still don't know how to use them.

    It would be cool to add the Manual installation guide in your README.md. You can take a look at my iOS Readme Template to see how you can do it.

    opened by lfarah 1
  • Update project to iOS10.0+ and Swift 4.2

    Update project to iOS10.0+ and Swift 4.2

    Like written in title. I've used PageControls in the past and really like it, but currently my project requires a higher version of Swift, so I've updated the code :)

    opened by ferusinfo 0
  • Access individual dots

    Access individual dots

    It would be really nice if you made this a public var, instead of private var inactiveLayers = CALayer

    so then people could subclass the PageControl class and change colors of individual dots, etc. Or at least some way to access individual dots.

    opened by danielchangsoojones 0
  • Use in UIPageViewController

    Use in UIPageViewController

    Thanks for creating this good control.

    I'm going to use this control in UIPageViewController, but I can't set progress as float since UIPageViewController have no percentage of animation. Please let me know if there is any other approach that I can use your control in my UIPageViewController.

    Thank you.

    opened by git-hwa 2
Owner
Kyle Zaragoza
Kyle Zaragoza
FlexiblePageControl - A flexible UIPageControl like Instagram.

FlexiblePageControl A flexible UIPageControl like Instagram. OverView Install Carthage For Installing with Carthage, add it to your Cartfile. github "

shima 732 Dec 26, 2022
โ— โ—‹ โ—‹ โ—‹ A nice, animated UIPageControl alternative.

Page Control Installation Usage Example import UIKit import PageControl class ViewController: UIViewController, UIScrollViewDelegate { @IBOu

Kasper Lahti 113 Sep 1, 2022
๐Ÿ’ฅ Beautiful, animated and highly customizable UIPageControl alternative for iOS.

PageControl Requirements iOS 9.0+ Xcode 7.0+ Installation CocoaPods: Add folowing line to Podfile and run 'pod instal'. pod 'Sevruk-PageControl' Or j

Sevruk Development 30 May 2, 2022
This is PageControl Component for OS X. Inspired by UIPageControl and BFPageControl

NSPageControl This is PageControl Component for OS X. Inspired by UIPageControl and BFPageControl. Demo ##Installation NSPageControl supports multiple

Kohei Tabata 13 Jan 19, 2022
iPages ๐Ÿ“– Quickly implement swipable page views in iOS

iPages ?? Quickly implement swipable page views in iOS. ?? Get Started | Examples | Customize | Install | Get Started Install iPages Add iPages to you

Benjamin Sage 169 Dec 25, 2022
๐Ÿ“– A simple, highly informative page view controller

TL;DR UIPageViewController done properly. โญ๏ธ Features Simplified data source management & enhanced delegation. Dynamically insert & remove pages. Infi

UI At Six 1.8k Jan 5, 2023
CHIPageControl is a set of cool animated page controls to replace boring UIPageControl.

CHIPageControl is a set of cool animated page controls to replace boring UIPageControl. We were inspired by Jardson Almeida dribbble sh

Chili Labs 3.1k Jan 4, 2023
Controls-Practice-UIKit- - Controls Practice (UIKit)

Controls Practice (UIKit) Change a number 0 to 255 different ways: Button (+1) I

null 1 Feb 13, 2022
RCalendarPicker A date picker control, Calendar calendar control, select control, calendar, date selection, the clock selection control.

RCalendarPicker RCalendarPicker Calendar calendar control, select control, calendar, date selection, the clock selection control. ๆ—ฅๅŽ†ๆŽงไปถ ๏ผŒๆ—ฅๅŽ†้€‰ๆ‹ฉๆŽงไปถ๏ผŒๆ—ฅๅŽ†๏ผŒๆ—ฅๆœŸ้€‰ๆ‹ฉ

ๆœ่€€่พ‰ 131 Jul 18, 2022
Simple single-selection or multiple-selection checklist, based on UITableView

SelectionList Simple single-selection or multiple-selection checklist, based on UITableView. Usage let selectionList = SelectionList() selectionList.i

Yonat Sharon 111 Oct 6, 2022
Reading animation allows you to click on the different page numbers and accordingly it will animate page changes in a cool way. It has a very attractive UI and is very easy to use.

Reading Animation Cool Reading Animation in iOS written in Swift. Preview Table of content :- Description How to add in your project Requirement Licen

MindInventory 42 Oct 4, 2022
A PageView Swiping to the left will go to previous page and swiping to the right will go to next page

PageView This package creates a PageView. Swiping to the left will go to previous page and swiping to the right will go to next page. You can find how

null 0 Oct 20, 2021
FlexiblePageControl - A flexible UIPageControl like Instagram.

FlexiblePageControl A flexible UIPageControl like Instagram. OverView Install Carthage For Installing with Carthage, add it to your Cartfile. github "

shima 732 Dec 26, 2022
โ— โ—‹ โ—‹ โ—‹ A nice, animated UIPageControl alternative.

Page Control Installation Usage Example import UIKit import PageControl class ViewController: UIViewController, UIScrollViewDelegate { @IBOu

Kasper Lahti 113 Sep 1, 2022
๐Ÿ’ฅ Beautiful, animated and highly customizable UIPageControl alternative for iOS.

PageControl Requirements iOS 9.0+ Xcode 7.0+ Installation CocoaPods: Add folowing line to Podfile and run 'pod instal'. pod 'Sevruk-PageControl' Or j

Sevruk Development 30 May 2, 2022
This is PageControl Component for OS X. Inspired by UIPageControl and BFPageControl

NSPageControl This is PageControl Component for OS X. Inspired by UIPageControl and BFPageControl. Demo ##Installation NSPageControl supports multiple

Kohei Tabata 13 Jan 19, 2022
Replace your Xcode icon with colorful variants

XcoatOfPaint Have you ever wished the Xcode icon could get a fresh coat of paint to match the colorful Mac you just bought? Or you want to distinguish

Christian Lobach 163 Dec 20, 2022
Jogendra 113 Nov 28, 2022
Replace the system volume popup with a more subtle indicator.

Replace the volume popup with a more subtle way to display the volume when the user changes it with the volume rocker. Why and how The iOS default pop

Andrea Mazzini 1.2k Nov 21, 2022
A SwiftUI List Picker to replace system Picker in List

BetterListPicker An alternative customizable list picker in order to replace built-in non customizable Picker when we write settings view codes. Demo

Jinya 1 Apr 11, 2022