DAPageControlView

MIT License
Objective-C
iOS

1 image

Author

Description

A scrollable page control for those rare cases when UIPageControl won't fit screen width.

I just love UIPageControl, don’t you? It’s simple and intuitive. It does not get any more "native" than this since Apple has used it in SpringBoard for ages. UIPageControl is the perfect choice when you have a fullscreen UIScrollView (UICollectionView) with pagingEnabled and you want to encourage your users to “swipe to see more.”

DAPageControlView gives your users the exact same experience they get from UIPageControl, and something more. While UIPageControl is a winner for static data, DAPageControlView might be a better choice for cases when you fetch your data from a server in chunks and/or do not know the total number of items. DAPageControlView is scrollable and applies the "perspective" effect to dots on the right and/or on the left if neccessary. If all the dots fit the screen, DAPageControlView behaves exactly like UIPageControl. Also there is an option to make the rightmost dot "blink" to let the user know that more items are loading.

Also there is an option to make the rightmost dot "blink" to let the user know that more items are loading.

Tags

Sponsored with ❤️ by Instabug

Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.

Get Started Now