All Projects → efremidze → NumPad

efremidze / NumPad

Licence: MIT license
Number Pad (inspired by Square)

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to NumPad

persian
Some utilities for Persian language in Go (Golang)
Stars: ✭ 65 (-19.75%)
Mutual labels:  keyboard, digits, number
Plaid-Pad
Build guide and additional hardware for the Plaid-Pad mechanical macro pad.
Stars: ✭ 39 (-51.85%)
Mutual labels:  keyboard, numpad
KioskBoard
KioskBoard - A pure JavaScript library for using virtual keyboards.
Stars: ✭ 114 (+40.74%)
Mutual labels:  keyboard, numpad
Hotkey
Simple global shortcuts in macOS
Stars: ✭ 574 (+608.64%)
Mutual labels:  keyboard, carthage
Connectivity
🌐 Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.
Stars: ✭ 1,476 (+1722.22%)
Mutual labels:  apple, carthage
Shsearchbar
The search bar that doesn't suck.
Stars: ✭ 206 (+154.32%)
Mutual labels:  apple, carthage
Uitextfield Navigation
🏄‍♂️ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews
Stars: ✭ 436 (+438.27%)
Mutual labels:  keyboard, carthage
Statusalert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way.
Stars: ✭ 809 (+898.77%)
Mutual labels:  apple, carthage
Aquatouch
Dynamic Custom Macros for your MacBook TouchBar! (Supports 40+ Apps and Websites)
Stars: ✭ 125 (+54.32%)
Mutual labels:  keyboard, apple
Android Xnumberkeyboard
Android number keyboard view. Android自定义的数字键盘。
Stars: ✭ 149 (+83.95%)
Mutual labels:  keyboard, number
Unshaky
A software attempt to address the "double key press" issue on Apple's butterfly keyboard [not actively maintained]
Stars: ✭ 2,711 (+3246.91%)
Mutual labels:  keyboard, apple
Magnetic
SpriteKit Floating Bubble Picker (inspired by Apple Music) 🧲
Stars: ✭ 1,252 (+1445.68%)
Mutual labels:  apple, carthage
Cluster
Easy Map Annotation Clustering 📍
Stars: ✭ 1,132 (+1297.53%)
Mutual labels:  apple, carthage
py-persian-tools
An anthology of a variety of tools for the Persian language in Python
Stars: ✭ 106 (+30.86%)
Mutual labels:  digits, number
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-62.96%)
Mutual labels:  apple, carthage
TTInputVisibilityController
Lightweight controller to keep your inputs visible when the keyboard is presented.
Stars: ✭ 21 (-74.07%)
Mutual labels:  keyboard, carthage
Shiny
Iridescent Effect View (inspired by Apple Pay Cash) ✨
Stars: ✭ 707 (+772.84%)
Mutual labels:  apple, carthage
Rome
Carthage cache for S3, Minio, Ceph, Google Storage, Artifactory and many others
Stars: ✭ 724 (+793.83%)
Mutual labels:  apple, carthage
Numericaltextentry
An iOS library for beautiful number entry fields. iPad friendly. Written in Swift.
Stars: ✭ 16 (-80.25%)
Mutual labels:  keyboard, number
vue-number-keyboard
vue-number-keyboard是基于VUE实现的数字键盘插件,当前支持整数、小数数字输入、乱序键盘,demo中给出了常用的验证码、金额数字示例。数字键盘的大小包括字体尺寸支持响应式。
Stars: ✭ 51 (-37.04%)
Mutual labels:  keyboard, number

NumPad

Language Version CI Status codebeat badge Carthage compatible

Number Pad inspired by Square. This module is based on LEAmountInputView.

Demo

$ pod try NumPad

Requirements

  • iOS 9.0+
  • Xcode 9.0+
  • Swift 4 (NumPad 3.x), Swift 3 (NumPad 2.x), Swift 2.3 (NumPad 1.x)

Installation

CocoaPods

To install with CocoaPods, simply add this in your Podfile:

use_frameworks!
pod "NumPad"

Carthage

To install with Carthage, simply add this in your Cartfile:

github "efremidze/NumPad"

Manually

  1. Download and drop NumPad.swift in your project.
  2. Congratulations!

Usage

Add NumPad to your view.

import NumPad

let numPad = NumPad(frame: CGRect(x: 0, y: 0, width: 320, height: 600))
numPad.dataSource = self
numPad.delegate = self
addSubview(numPad)

Use the DefaultNumPad for a preconfigured dataSource and delegate.

Data Source

// number of rows
func numberOfRowsInNumPad(numPad: NumPad) -> Int

// number of columns for row
func numPad(numPad: NumPad, numberOfColumnsInRow row: Row) -> Int

// item for position
func numPad(numPad: NumPad, itemAtPosition position: Position) -> Item

Delegate

// handle item tap
func numPad(numPad: NumPad, itemTapped item: Item, atPosition position: Position)

// item size for position
func numPad(numPad: NumPad, sizeForItemAtPosition position: Position) -> CGSize

Contributions

Contributions are totally welcome.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].