-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements SLKeyboard protocol for custom keyboards #105
Conversation
This is neat @j-mutter! Thanks and sorry for the delay in reviewing--I'm slowly getting back into Subliminal after a hefty release of Inkling right before the holidays. I just fixed some things in the build process--would you mind rebasing on top of |
To tap individual keys on the keyboard, use SLKeyboardKey. | ||
*/ | ||
@interface SLKeyboard : SLStaticElement | ||
@protocol SLKeyboard <NSObject> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an elegant way to support different keyboards. Before your request I hadn't heard of UIInputView
--would you mind describing it/the rationale here in documentation for the SLKeyboard
protocol?
@wearhere Done and done :) Sorry for the delay |
Looks like everything passed except for some documentation errors--missing parameters on the new methods added to |
Travis is 💚 now :) |
👍 Thanks again! |
Implements SLKeyboard protocol for custom keyboards
With iOS 7 SDK, UIKit now exposes UIInputView to allow custom inputs/keyboards to be created.
This PR provides an
SLKeyboard
protocol for such views, refactors the originalSLKeyboard
class to implement the protocol methods, and updatesSLTextField
andSLTextView
to use different keyboards as needed.