MMNumberKeyboard alternatives and similar libraries
Based on the "Keyboard" category.
Alternatively, view MMNumberKeyboard alternatives based on common mentions on social networks and blogs.
-
IQKeyboardManager
Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more. -
TPKeyboardAvoiding
A drop-in universal solution for moving text fields out of the way of the keyboard in iOS -
IHKeyboardAvoiding
IHKeyboardAvoiding is an elegant solution for keeping any UIView visible when the keyboard is being shown - no UIScrollView required! -
YYKeyboardManager
iOS utility class allows you to access keyboard view and track keyboard animation. -
Toolbar
Awesome autolayout Toolbar. Toolbar is a library for iOS. You can easily create chat InputBar. -
AutoKeyboardScrollView
AutoKeyboardScrollView is an UIScrollView subclass which makes showing and dismissing keyboard for UITextFields much easier. So called keyboard avoidance. -
RSKKeyboardAnimationObserver
DISCONTINUED. Showing / dismissing keyboard animation in simple UIViewController category.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of MMNumberKeyboard or a related project?
README
MMNumberKeyboard
A simple keyboard to use with numbers and, optionally, a decimal point.
[And it works great on the iPad too](UniversalScreenshot.png)
Installation
From CocoaPods
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like MMNumberKeyboard
in your projects. First, add the following line to your Podfile:
pod 'MMNumberKeyboard'
Second, install MMNumberKeyboard
into your project:
pod install
From Carthage
Carthage is a dependency manager for Objective-C and Swift. Add the following line to your Cartfile
:
github "matmartinez/MMNumberKeyboard"
The run carthage update
.
Follow the current instructions in Carthage's README for up to date installation instructions.
Usage
There is a sample Xcode project available. Just build & run. And profit.
Basically you instantiate your own keyboard view to use as an .inputView
of your UITextField
, UITextView
or whatever view that supports text editing.
// Create and configure the keyboard.
MMNumberKeyboard *keyboard = [[MMNumberKeyboard alloc] initWithFrame:CGRectZero];
keyboard.allowsDecimalPoint = YES;
keyboard.delegate = self;
// Configure an example UITextField.
UITextField *textField = [[UITextField alloc] initWithFrame:CGRectZero];
textField.inputView = keyboard;
You can adopt the MMNumberKeyboardDelegate
protocol to handle the return key or whether text should be inserted or not.
Development
Pull requests are welcome and mostly appreciated.
Credits
Thanks to Pedro Burón for the encouragement and moral support to make this README
file possible.