Do you want to suggest to your users that they can do more than just scrolling? Enter BMAGridPageControl.
BMAGridPageControl is designed to be really similar to UIPageControl. You control it specifying a total number of items, and a current item. The control will highlight the current item as it was inside a grid.
While developing this small control, we also wanted to check how you would apply TDD to it. We came out with a two-class implementation: A driver and the control itself. Check the sources and tell us what you think!
Add the pod to your Podfile:
pod 'BMAGridPageControl'
Add the repository to your Cartfile:
github "badoo/BMAGridPageControl"
Then drag and drop the produced BMAGridPageControl.framework from Carthage/build
Just drop into your project the files under BMAGridPageControl directory.
Source code is distributed under MIT license.
Read more on our tech blog or explore our other open source projects