Skip to content

efremidze/LEAmountInputView

Repository files navigation

LEAmountInputView

CI Status Version License Platform

Overview

LEAmountInputView is an amount input view inspired by Square's design.

LEAmountInputView Screenshot

Note: If you like LEAmountInputView, checkout NumPad.

Installation

LEAmountInputView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "LEAmountInputView"

Usage

See the LEAmountInputViewDemo project for example usage.

Import

#import "LEAmountInputView.h"

Example

LEAmountInputView *amountInputView = [[LEAmountInputView alloc] initWithFrame:self.view.frame numberStyle:NSNumberFormatterCurrencyStyle];
[self.view addSubview:amountInputView];

LEAmountInputTextField

If you want to use the textField standalone with the numberPad as an inputView, use LEAmountInputTextField.

Contributions

Contributions are totally welcome.

License

LEAmountInputView is available under the MIT license. See the LICENSE file for more info.