Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/illyabusigin/CYRKeyboardButton
A drop-in keyboard button that mimics the look, feel, and functionality of the native iOS keyboard buttons
https://github.com/illyabusigin/CYRKeyboardButton
Last synced: about 1 month ago
JSON representation
A drop-in keyboard button that mimics the look, feel, and functionality of the native iOS keyboard buttons
- Host: GitHub
- URL: https://github.com/illyabusigin/CYRKeyboardButton
- Owner: illyabusigin
- License: mit
- Created: 2014-04-06T17:17:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-06T10:17:13.000Z (about 9 years ago)
- Last Synced: 2024-10-01T04:40:56.962Z (2 months ago)
- Language: Objective-C
- Homepage:
- Size: 477 KB
- Stars: 351
- Watchers: 13
- Forks: 46
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mobile-ui - illyabusigin/CYRKeyboardButton
README
# CYRKeyboardButton
[![Version](https://img.shields.io/cocoapods/v/CYRKeyboardButton.svg?style=flat)](https://github.com/illyabusigin/CYRKeyboardButton)
[![License](https://img.shields.io/cocoapods/l/CYRKeyboardButton.svg?style=flat)](https://github.com/illyabusigin/CYRKeyboardButton)
[![Platform](https://img.shields.io/cocoapods/p/CYRKeyboardButton.svg?style=flat)](https://github.com/illyabusigin/CYRKeyboardButton)by **Illya Busigin**
- Visit my blog at [http://illyabusigin.com/](http://illyabusigin.com/)
- Follow [@illyabusigin on Twitter](http://twitter.com/illyabusigin)Purpose
--------------CYRKeyboardButton is a drop-in keyboard button that mimics the look, feel, and functionality of the native iOS keyboard buttons. When building QED Solver for iOS I needed to replicate the look and feel of the native keyboard buttons. CYRKeyboardButton aims to be the definitive keyboard button control for those looking to replicate the standard keyboard functionality. Features include:
- Ridiculously simple configuration
- UIAppearance protocol support
- Extended input options support
- Robust documentationScreenshot
--------------Requirements
-----------------------------iOS 7.0 or later (**with ARC**) for iPhone, iPad and iPod touch
Installation
---------------To use CYRKeyboardButton, just drag the class files into your project.. You can create CYRKeyboardButton instances programatically, or create them in Interface Builder by dragging an ordinary UIView into your view and setting its class to CYRKeyboardButton.
If you are using Interface Builder, to set the custom properties of CYRKeyboardButton (ones that are not supported by regular UIViews) either create an IBOutlet for your view and set the properties in code, or use the User Defined Runtime Attributes feature in Interface Builder (introduced in Xcode 4.2 for iOS 5+).
Usage
---------------``` objective-c
CYRKeyboardButton *keyboardButton = [CYRKeyboardButton new];
keyboardButton.translatesAutoresizingMaskIntoConstraints = NO;
keyboardButton.input = @"A";
keyboardButton.inputOptions = @[@"A", @"B", @"C", @"D"];
keyboardButton.textInput = self.textView;
[self.view addSubview:keyboardButton];
```Example
---------------CYRKeyboardButton includes an iPhone example project that demonstrates how to use CYRKeyboardButtons in an input accessory view with nifty autolayout sizing/spacing.
Bugs & Feature Requests
---------------There is **no support** offered with this component. If you would like a feature or find a bug, please submit a feature request through the [GitHub issue tracker](http://github.com/illyabusigin/CYRKeyboardButton/issues).
Pull-requests for bug-fixes and features are welcome!
Attribution
--------------CYRKeyboardButton uses portions of code from the following sources.
| Component | Description | License |
| ------------- |:-------------:| -----:|
| [TurtleBezierPath](https://github.com/mindbrix/TurtleBezierPath) | UIBezierPath subclass for Turtle Graphics | [MIT](https://github.com/mindbrix/TurtleBezierPath/blob/master/LICENSE) |