Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/efremidze/leamountinputview
Amount Input View (inspired by Square's design)
https://github.com/efremidze/leamountinputview
currency input numpad objective-c square
Last synced: 3 months ago
JSON representation
Amount Input View (inspired by Square's design)
- Host: GitHub
- URL: https://github.com/efremidze/leamountinputview
- Owner: efremidze
- License: mit
- Created: 2015-04-29T06:44:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T00:05:05.000Z (about 8 years ago)
- Last Synced: 2024-10-12T19:37:32.939Z (4 months ago)
- Topics: currency, input, numpad, objective-c, square
- Language: Objective-C
- Homepage:
- Size: 272 KB
- Stars: 44
- Watchers: 6
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LEAmountInputView
[![CI Status](http://img.shields.io/travis/efremidze/LEAmountInputView.svg?style=flat)](https://travis-ci.org/efremidze/LEAmountInputView)
[![Version](https://img.shields.io/cocoapods/v/LEAmountInputView.svg?style=flat)](http://cocoapods.org/pods/LEAmountInputView)
[![License](https://img.shields.io/cocoapods/l/LEAmountInputView.svg?style=flat)](http://cocoapods.org/pods/LEAmountInputView)
[![Platform](https://img.shields.io/cocoapods/p/LEAmountInputView.svg?style=flat)](http://cocoapods.org/pods/LEAmountInputView)## Overview
`LEAmountInputView` is an amount input view inspired by Square's design.
![LEAmountInputView Screenshot](Screenshots/example.gif)
**Note:** If you like `LEAmountInputView`, checkout [NumPad](https://github.com/efremidze/NumPad).
## Installation
LEAmountInputView is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "LEAmountInputView"
```## Usage
See the `LEAmountInputViewDemo` project for example usage.
### Import
```objc
#import "LEAmountInputView.h"
```### Example
```objectivec
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.