diff --git a/SwiftStockExample/Base.lproj/Main.storyboard b/SwiftStockExample/Base.lproj/Main.storyboard index 604e0b8..2c861f5 100644 --- a/SwiftStockExample/Base.lproj/Main.storyboard +++ b/SwiftStockExample/Base.lproj/Main.storyboard @@ -6,7 +6,6 @@ - @@ -36,15 +35,10 @@ - - - - - @@ -55,7 +49,6 @@ - @@ -109,11 +102,8 @@ - - - diff --git a/SwiftStockExample/ViewController.swift b/SwiftStockExample/ViewController.swift index 6575206..cd77735 100644 --- a/SwiftStockExample/ViewController.swift +++ b/SwiftStockExample/ViewController.swift @@ -102,7 +102,6 @@ class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSour func keyboardWillHide(_ sender: Notification) { if let userInfo = sender.userInfo { // if let _ = (userInfo[UIKeyboardFrameEndUserInfoKey] as AnyObject).cgRectValue.size.height { // commenting out because of "Initializer for conditional binding must have Optional type", which occurs if the RHS is not optional - tableViewBottomConstraint.constant = 0.0 UIView.animate(withDuration: 0.25, animations: { () -> Void in self.view.layoutIfNeeded() })