Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Keyboard Component With Native Look And Feel But Adds Customization Options

  •  
  •  
  •  
  •  
  •  

Some time ago I mentioned a keyboard component that looks like the standard iOS keyboard but allows you to have custom buttons for different languages called custom iOS keyboards.

Here’s an open source component that allows you to set up standard iOS keyboards but adding a number of customization options called CYRKeyboardButton.

CYRKeyboard allows customization with UIAppearance, allows you to add extended input options, and more.

Here’s an animation from the readme showing off the extended input options available:

 

CYRKeyboardButton

And a source code example showing off how to configure CYRKeyboardButton with extended input options:

CYRKeyboardButton *keyboardButton = [CYRKeyboardButton new];
keyboardButton.translatesAutoresizingMaskIntoConstraints = NO;
keyboardButton.input = @"A";
keyboardButton.inputOptions = @[@"A", @"B", @"C", @"D"];
keyboardButton.textInput = self.textView;
[self.view addSubview:keyboardButton];

You can find CYRKeyboardButton on Github here.

A nice custom keyboard component.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments