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.
<CCIBead.h>
<CCIAbacusDelegate.h>
<CCIAbacusDataSource.h>
<CCIAbacusView.h>
- (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;
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'
ccosnean, [email protected]
CCIAbacusView is available under the MIT license. See the LICENSE file for more info.