Skip to content

ayushgoel/AGEmojiKeyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

716b222 · Nov 26, 2018
Nov 26, 2018
Jun 1, 2017
Jun 1, 2017
Mar 27, 2014
Apr 3, 2015
Oct 4, 2016
Mar 27, 2014
Nov 26, 2018
May 7, 2016
Jul 30, 2017
May 7, 2016
Mar 23, 2014

Repository files navigation

AGEmojiKeyboard

Version License Platform

An alternate keyboard for iOS that lets you display all the emojis supported by iOS. Documentation is available via CocoaDocs.

Additions that need to be done:

  1. Stickers
  2. Custom emojis (different font)

Example Project

To run the example project:

  1. Clone the repo to a local folder.
  2. Run pod install from the Example directory.
  3. Open AGEmojiKeyboardSample.xcworkspace placed in Example folder.
  4. Run.

Example Preview

Installation

Via CocoaPods

AGEmojiKeyboard is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "AGEmojiKeyboard"

Copy the files

Copy the classes from AGEmojiKeyboard/ and resources from Resources/ to your project. Look at the Example/ folder to see how the classes are used for more detail.

Usage

  1. Use your own ViewController (optionally) to conform to AGEmojiKeyboardViewDataSource and AGEmojiKeyboardViewDelegate protocol.
  2. Create an instance of [AGEmojiKeyboardView][AGEmojiKeyboardView] and set it as your textView's inputView.
  CGRect keyboardRect = CGRectMake(0, 0, self.view.frame.size.width, 216);
  AGEmojiKeyboardView *emojiKeyboardView = [[AGEmojiKeyboardView alloc] initWithFrame:keyboardRect
                                                                           dataSource:self];
  emojiKeyboardView.autoresizingMask = UIViewAutoresizingFlexibleHeight;
  emojiKeyboardView.delegate = self;
  self.textView.inputView = emojiKeyboardView;

Author

Ayush Goel, ayushgoel111@gmail.com

License

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