/ZBRulerView

金融类选择金额的游标尺

Primary LanguageObjective-C

ZBRulerView

金融类选择金额的游标尺

用法

#import "ZBRulerView.h"

...

ZBRulerView *rulerView = [[ZBRulerView alloc] initWithFrame:CGRectMake(0, 200, CGRectGetWidth(self.view.frame), 100)];
rulerView.minAmount = 100;
[self.view addSubview:rulerView];

或在xib中设置ZBRulerView。