NSAKHAN / LEAmountInputView

Amount Input View (inspired by Square's design)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LEAmountInputView

CI Status Version License Platform

Overview

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

LEAmountInputView Screenshot

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.

About

Amount Input View (inspired by Square's design)

License:MIT License


Languages

Language:Objective-C 96.1%Language:Ruby 3.9%