TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Daria Kopaliani.
I just love UIPageControl
, don’t you? It’s simple and intuitive, a perfect choice when you have a fullscreen UIScrollView
with pagingEnabled
and you want to encourage your users to “swipe to see more”.
So why use a scrollable UIPageControl,
if its essence is to indicate the current page of total number of pages? Say, you have this screen where you display books for the current author. And usually there are just 5-6 books to display, but there is this one very productive author who has written 37 books. You do not want to change your design because of this one author, but the native UIPageControl
will not look nice just for this one case. That’s when DAPageControlView
comes to rescue: it behaves exactly like UIPageControl
when page indicators fit its width and handles nicely the case when they don’t.
Besides if you want to use pagination to load those 37 books from your server, DAPageControlView
knows how to handle that nicely too – it will animate the right-hand page indicator view when appropriate letting users know there is more data loading.
To run the example project; clone the repo, and run pod install
from the Example directory first.
Daria Kopaliani, [email protected]
DAPageControlView is available under the MIT license. See the LICENSE file for more info.