Latest 1.1.0
Homepage https://github.com/EFPrefix/EFKeyboardToolBar
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

A keyboard toolBar in Swift, inspired by KeyboardToolBar.

中文介绍

Preview

Default Custom
EFKeyboardToolBar EFKeyboardToolBar

Example

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

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • Swift 4.0+

Installation

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

pod 'EFKeyboardToolBar'

Use

In your AppDelegate.swift:

import EFKeyboardToolBar

then:

EFKeyboardToolBar.enableEFKeyboardToolBar()

Then your UITextField, UITextView, UISearchBar will have toolbar in keyboard.

Custom

White your own class follow the EFKeyboardToolBarContentViewProtocol protocol, and use the following code to set it:

let newConfit = EFKeyboardToolBarConfig()
newConfit.toolBarHeight = 60
newConfit.toolBarContentView = EFKeyboardToolBarCustomContentView()
EFKeyboardToolBar.setConfig(config: newConfit)

You can see the example code for more details.

Author

EyreFree, [email protected]

License

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

Latest podspec

{
    "name": "EFKeyboardToolBar",
    "version": "1.1.0",
    "summary": "A keyboard toolBar in Swift.",
    "description": "A keyboard toolBar in Swift, inspired by KeyboardToolBar.",
    "homepage": "https://github.com/EFPrefix/EFKeyboardToolBar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "EyreFree": "[email protected]"
    },
    "source": {
        "git": "https://github.com/EFPrefix/EFKeyboardToolBar.git",
        "tag": "1.1.0"
    },
    "social_media_url": "https://twitter.com/EyreFree777",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "EFKeyboardToolBar/Classes/**/*"
}

Pin It on Pinterest

Share This