Skip to content

Commit

Permalink
Merge pull request #681 from svedm/Swift3
Browse files Browse the repository at this point in the history
Changing access level of keyboardWillShow and keyboardWillHide methods
  • Loading branch information
Martin Barreto authored Sep 26, 2016
2 parents 23ca6f7 + a2ec90b commit 96e14e8
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 96e14e8

Please sign in to comment.