https://github.com/badoo/bmagridpagecontrol
https://github.com/badoo/bmagridpagecontrol
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/badoo/bmagridpagecontrol
- Owner: badoo
- License: mit
- Created: 2014-08-08T11:28:23.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T17:59:07.000Z (about 9 years ago)
- Last Synced: 2024-10-31T16:33:24.150Z (over 1 year ago)
- Language: Objective-C
- Size: 4.69 MB
- Stars: 99
- Watchers: 41
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/badoo/BMAGridPageControl)
[](https://github.com/Carthage/Carthage)
## A different page control


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.
### Testing
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!
## Installation
### CocoaPods
Add the pod to your Podfile:
```ruby
pod 'BMAGridPageControl'
```
### Carthage
Add the repository to your Cartfile:
```Bash
github "badoo/BMAGridPageControl"
```
Then drag and drop the produced BMAGridPageControl.framework from Carthage/build
### Manual
Just drop into your project the files under BMAGridPageControl directory.
## License
Source code is distributed under MIT license.
## Blog
Read more on our [tech blog](http://techblog.badoo.com/) or explore our other [open source projects](https://github.com/badoo)