Learn how to set up a new Apple Watch project in Xcode - SwiftUI and watchOS tutorial - Part 2

Опубликовано: 22 Октябрь 2024
на канале: Credo Academy
7,512
92

🟢 LIMITED TIME OFFER - SAVE 37%
Practical iOS and macOS app development tutorials with SwiftUI in 4K
https://credo.academy

In this #watchOS tutorial, we are going to get familiar with Apple Watch input interfaces. This SwiftUI tutorial is part of the SwiftUI Masterclass course. As I mentioned before, depending on the Watch capability and the users' settings, there are at least four input interfaces that we can utilize to create a new note.

To trigger these input interfaces first, we need to tap on the text field.

By doing that, the watch operating system will bring us all available options to enter some content.

It could be a feature to dictate, scribble, or enter emojis.

But not only that, we can even type some text from our external devices like iPhone and iPad as well.

Let's give it a try.

First, we're going to try how we can dictate using the Apple Watch, shall we?

Awesome!

Now let's try out the second input feature.

As you can see, we can scribble something on the Apple Watch screen, and the watchOS automatically try to recognize and convert it to letters if it's possible.

Not bad at all.

Now let's see how easy it is to add some emojis from the whole emoji catalog.

See? Easy peasy!

The last feature is directly typing from a previously paired iPhone or iPad.

Unfortunately, we can not test it in the Xcode's Watch Simulator, if I'm not mistaken.

You need to check it out yourself on your real devices.

Believe me; it's so cool!

Okey-dokey, enough with the talk!

Open Xcode, and let's get started coding along with me!

#SwiftUI #AppleWatch