Skip to content

Commit 4612bfe

Browse files
committed
Update Readme
Bump podspec
1 parent 413bb2f commit 4612bfe

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

KeyboardLayoutEngine.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "KeyboardLayoutEngine"
19-
s.version = "0.8.3"
19+
s.version = "0.8.4"
2020
s.summary = "⌨️ Simplest custom keyboard generator for iOS ever!"
2121

2222
# This description is used to generate tags and improve search results.
@@ -336,7 +336,7 @@ optional func defaultKeyboardDidPressReturnButton(defaultKeyboard: DefaultKeyboa
336336
# Supports git, hg, bzr, svn and HTTP.
337337
#
338338

339-
s.source = { :git => "https://github.com/cemolcay/KeyboardLayoutEngine.git", :tag => "0.8.3" }
339+
s.source = { :git => "https://github.com/cemolcay/KeyboardLayoutEngine.git", :tag => "0.8.4" }
340340

341341

342342
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,15 @@ KeyboardLayoutDelegate
7676

7777
``` swift
7878
@objc public protocol KeyboardLayoutDelegate {
79-
optional func keyboardLayoutDidStartPressingButton(keyboardLayout: KeyboardLayout, keyboardButton: KeyboardButton)
80-
optional func keyboardLayoutDidPressButton(keyboardLayout: KeyboardLayout, keyboardButton: KeyboardButton)
79+
// Key Press Events
80+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didKeyPressStart keyboardButton: KeyboardButton)
81+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didKeyPressEnd keyboardButton: KeyboardButton)
82+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didDraggedIn fromKeyboardButton: KeyboardButton, toKeyboardButton: KeyboardButton)
83+
// Touch Events
84+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didTouchesBegin touches: Set<UITouch>)
85+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didTouchesMove touches: Set<UITouch>)
86+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didTouchesEnd touches: Set<UITouch>?)
87+
optional func keyboardLayout(keyboardLayout: KeyboardLayout, didTouchesCancel touches: Set<UITouch>?)
8188
}
8289
```
8390

@@ -253,10 +260,11 @@ CustomKeyboardDelegate
253260

254261
``` swift
255262
@objc public protocol CustomKeyboardDelegate {
256-
optional func customKeyboardDidPressKeyButton(customKeyboard: CustomKeyboard, key: String)
257-
optional func customKeyboardDidPressSpaceButton(customKeyboard: CustomKeyboard)
258-
optional func customKeyboardDidPressBackspaceButton(customKeyboard: CustomKeyboard)
259-
optional func customKeyboardDidPressGlobeButton(customKeyboard: CustomKeyboard)
260-
optional func customKeyboardDidPressReturnButton(customKeyboard: CustomKeyboard)
263+
optional func customKeyboard(customKeyboard: CustomKeyboard, keyboardButtonPressed keyboardButton: KeyboardButton)
264+
optional func customKeyboard(customKeyboard: CustomKeyboard, keyButtonPressed key: String)
265+
optional func customKeyboardSpaceButtonPressed(customKeyboard: CustomKeyboard)
266+
optional func customKeyboardBackspaceButtonPressed(customKeyboard: CustomKeyboard)
267+
optional func customKeyboardGlobeButtonPressed(customKeyboard: CustomKeyboard)
268+
optional func customKeyboardReturnButtonPressed(customKeyboard: CustomKeyboard)
261269
}
262270
```

0 commit comments

Comments
 (0)