Skip to content

Commit

Permalink
Update podspec and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lm2343635 committed Aug 12, 2017
1 parent 8140ce6 commit a37ea19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 5 additions & 5 deletions MGKeyboardAccessory.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

Pod::Spec.new do |s|
s.name = 'MGKeyboardAccessory'
s.version = '0.2'
s.summary = 'A keyboard accessory to input special text to text field directly.'
s.version = '0.3'
s.summary = 'A keyboard accessory to input special characters.'

s.description = <<-DESC
MGKeyboardAccessory is a keyboard accessory to input special text to text field directly. Itallows developer to add the custom button with text in keyboard accessory, text in the button will be inserted to text field if the button is clicked.
MGKeyboardAccessory is a keyboard accessory to input special characters in UITextField or UI directly. It allows developers to add the custom button with characters in keyboard accessory, characters in the button will be inserted to text field if the button is clicked.
# Features
- Support custom text in the button.
- Support custom characters.
- Support two styles: defualt and dark.
- Support to scroll character buttons horizontally.
- Support both UITextField and UITextView.
DESC

s.homepage = 'https://github.com/lm2343635/MGKeyboardAccessory'
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# MGKeyboardAccessory [![CI Status](http://img.shields.io/travis/limeng/MGKeyboardAccessory.svg?style=flat)](https://travis-ci.org/limeng/MGKeyboardAccessory) [![Version](https://img.shields.io/cocoapods/v/MGKeyboardAccessory.svg?style=flat)](http://cocoapods.org/pods/MGKeyboardAccessory) [![License](https://img.shields.io/cocoapods/l/MGKeyboardAccessory.svg?style=flat)](http://cocoapods.org/pods/MGKeyboardAccessory) [![Platform](https://img.shields.io/cocoapods/p/MGKeyboardAccessory.svg?style=flat)](http://cocoapods.org/pods/MGKeyboardAccessory)

MGKeyboardAccessory is a keyboard accessory to input special text to text field directly. Itallows developer to add the custom button with text in keyboard accessory, text in the button will be inserted to text field if the button is clicked.
MGKeyboardAccessory is a keyboard accessory to input special characters in UITextField or UI directly. It allows developers to add the custom button with characters in keyboard accessory, characters in the button will be
inserted to text field if the button is clicked.

![MGKeyboardAccessory](https://raw.githubusercontent.com/lm2343635/MGKeyboardAccessory/master/screenshot/demo.png)

## Features
- Support custom text in the button.
- Support custom characters.
- Support two styles: defualt and dark.
- Support both UITextField and UITextView.

## Example

Expand All @@ -18,7 +20,7 @@ MGKeyboardAccessory is available through [CocoaPods](http://cocoapods.org). To i
it, simply add the following line to your Podfile:

```ruby
pod 'MGKeyboardAccessory', '~> 0.2'
pod 'MGKeyboardAccessory', '~> 0.3'
```

## How to use
Expand All @@ -45,6 +47,9 @@ The first parameter is a string array to create custom button, the second parame
- v0.2
- Support to scroll character buttons horizontally.

- v0.3
- Support UITextView.

## Author

Meng Li, http://fczm.pw, lm2343635@126.com
Expand Down

0 comments on commit a37ea19

Please sign in to comment.