Handling Keyboard & Pointer Interactions in SwiftUI

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

Leave a rating/review
Download materials
Save for later
Comments
Share

Who is this for?

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

Covered concepts

  • iOS Software Keyboard
  • Toolbars
  • @FocusState
  • Keyboard Shortcut
  • UIResponder
  • Hover Effect

Part 1: Handling Keyboard & Pointer Interactions in SwiftUI

01
Toggle description

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

Toggle description

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

Toggle description

Attach a custom toolbar to the iOS software keyboards to provide handy tools for text input.

Manage Focus 11:41
Toggle description

New for iOS 15: Use the new @FocusState property wrapper to adjust focus between multiple input fields.

Toggle description

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

Toggle description

iPads also support pointing devices, like trackpads and mice. Learn to add some customized pointer support to iPadOS apps.

Instructors

Catie Catterwaul

Contributors

Catie Catterwaul

Instructor

Adriana Kutenko

Illustrator

Nil

Video Editor

Over 300 content creators. Join our team.