Skip to content

Commit

Permalink
Changing access level of keyboardWillShow and keyboardWillHide method…
Browse files Browse the repository at this point in the history
…s to open
  • Loading branch information
svedm committed Sep 26, 2016
1 parent 7aa2d18 commit a2ec90b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core.swift
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ extension FormViewController {
/**
Called when the keyboard will appear. Adjusts insets of the tableView and scrolls it if necessary.
*/
public func keyboardWillShow(_ notification: Notification){
open func keyboardWillShow(_ notification: Notification){
guard let table = tableView, let cell = table.findFirstResponder()?.formCell() else { return }
let keyBoardInfo = notification.userInfo!
let endFrame = keyBoardInfo[UIKeyboardFrameEndUserInfoKey] as! NSValue
Expand Down Expand Up @@ -848,7 +848,7 @@ extension FormViewController {
/**
Called when the keyboard will disappear. Adjusts insets of the tableView.
*/
public func keyboardWillHide(_ notification: Notification){
open func keyboardWillHide(_ notification: Notification){
guard let table = tableView, let oldBottom = oldBottomInset else { return }
let keyBoardInfo = notification.userInfo!
var tableInsets = table.contentInset
Expand Down

0 comments on commit a2ec90b

Please sign in to comment.