Scroll View School, Episode 18: Challenge: Adding Keyboard Insets | Kodeco

In this video challenge, your task is to add some keyboard insets to a new sample project. Give it a try!

This is a companion discussion topic for the original entry at

There is one bug in this solution.
Probably there should be validation of the keyboard state (if its shown or not), cause if we will tap text field w/o closing it before that extra space will be added on top of the keyboard over and over again

  • No need in redundant ? true : false
    let show = == UIResponder.keyboardWillShowNotification

(The same point for the previous video)