This course is available as part of the raywenderlich.com Professional subscription. To learn more click here
Pro

Handling Keyboard & Pointer Interactions in SwiftUI

Nov 23 2021 · Video Course (37 mins) · Intermediate

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

5 / 5 1 Rating

Version

  • Swift 5.5, iOS 15, Xcode 13

Handling Keyboard & Pointer Interactions in SwiftUI

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

1

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

2

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

3

Manage Focus

11:41

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

4

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.

5

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

6

Version history

iOS 15, Swift 5.5, Xcode 13 (Selected)

Nov 23 2021

iOS 14, Swift 5.3, Xcode 12.4

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
  • Toolbars
  • @FocusState
  • Keyboard Shortcut
  • UIResponder
  • Hover Effect

Contributors

Comments