Skip to content

sonswift/STKeyboard

Repository files navigation

STKeyboard

CI Status Version License Platform Donate

Features

  • Support Photo keyboard. (Camera Roll || All Photos)
  • Support Number keyboard.
  • Allow custom new keyboard.
  • Can switch between keyboards.
  • Allow change photo album.

alt text

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

You must import NSPhotoLibraryUsageDescription in Info.plist in order to access Photo Library.

Installation

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

pod "STKeyboard"
  • Active keyboard
let textField = UITextField()

textField.switchToSTKeyboard(withType: .default)
textField.switchToSTKeyboard(withType: .number)
textField.switchToSTKeyboard(withType: .photo)
  • Create a new keyboard by inheriting from STKeyboard
class NewCustomKeyboard: STKeyboard {

static let customKeyboard = NewCustomKeyboard()
}

Author

Son Thai, hoangson11592@gmail.com

License

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

Copyright (c) 2017 Son Thai (hoangson11592@gmail.com).

See the LICENSE file for more info.

About

Custom keyboards for iOS applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published