There is an updated version of this course available, created for Swift 5.5, iOS 15, Xcode 13. View Latest Version

Handling Keyboard & Pointer Interactions in SwiftUI

Apr 22 2021 · Video Course (18 mins) · Intermediate

Learn how to handle the iOS keyboard, external hardware keyboards, and pointer interactions in a SwiftUI app.


  • Swift 5.3, iOS 14, Xcode 12.4

Handling Keyboard & Pointer Interactions in SwiftUI

Learn how to show the software keyboard in a SwiftUI app without covering up your text fields.


Solve one of the great mysteries of SwiftUI development: dismissing the software keyboard.


It’s easy to hook up an external keyboard to your iPad! Make the most of it by adding keyboard shortcuts to your app.


With iPadOS 13, we could finally connect a pointing device to our iPads. Learn to add some customized pointer support.


Version history

iOS 15, Swift 5.5, Xcode 13

Nov 23 2021

iOS 14, Swift 5.3, Xcode 12.4 (Selected)

Apr 22 2021

Who is this for?

This course will be best for developers with some Swift and SwiftUI experience.

Covered concepts

  • iOS Software Keyboard
  • Keyboard Shortcut
  • UIResponder
  • Hover Effect