CCIAbacusView
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
The total value is displayed in delegate methods. See below.
Requirements
Header files
<CCIBead.h>
<CCIAbacusDelegate.h>
<CCIAbacusDataSource.h>
<CCIAbacusView.h>
Required mehods
- (int)numberOfColumnsForAbacusView:(CCIAbacusView *)view ;
- (int)abacusView:(CCIAbacusView *)view numberOfBeadsPerSection: (int)sectionNumber;
- (int)abacusView:(CCIAbacusView *)view valueOfBeadsPerSection: (int)sectionNumber;
- (BOOL)showSeparatorForAbacusView:(CCIAbacusView *)view;
- (UIColor *)separatorColorForAbacusView:(CCIAbacusView *)view;
- (CCIBead *)abacusView:(CCIAbacusView *)view setBeadForColumn: (int) column withIndex: (int)index;
- (void)abacusView:(CCIAbacusView *)view didChangeValue: (int)newValue;
Installation
CCIAbacusView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CCIAbacusView'
or
pod 'CCIAbacusView', :git => 'https://github.com/ccosnean/CCIAbacusView.git'
Author
ccosnean, cosneanuc@gmail.com
License
CCIAbacusView is available under the MIT license. See the LICENSE file for more info.