O'Reilly logo

iOS 8 SDK Development, 2nd Edition by Janie Clayton, Chris Adamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Keyboard Extension

Have you ever wanted to type an email and use someone’s Twitter handle but could not remember it exactly? Maybe you were on a forum and you wanted to praise that book by @RedQueenCoder and…wait, was it really @invalidname? (That can’t be right, can it?)

Well, with our extension, we’re going to offer a custom keyboard that is a table of all our user’s Twitter friends. That way, when users are in this scenario, they can just switch to our keyboard, tap the name of their friend, and have that text inserted directly into the host application.

Start a keyboard extension by clicking on the project icon at the top of the file and choosing FileNewTarget. This opens the Target Template sheet shown in the following figure. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required