From the course: Apple watchOS 7 App Development Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

SwiftUI on watchOS

SwiftUI on watchOS - watchOS Tutorial

From the course: Apple watchOS 7 App Development Essential Training

Start my 1-month free trial

SwiftUI on watchOS

- [Instructor] With our watch app and watch extension added to the iOS app, let's look a little at the structure of our watch code. Like a WatchKit project the app here and the extension here, have the same kind of code showing up. And in the watch app, we have an interface storyboard, like we did before, although it's a lot smaller than what we had originally. We also have a watch extension, and that's got mostly SwiftUI files in it. The one thing I do want to point out is the extension delegate here, and that was something that I chose in the last video to show you how this would work under certain circumstances. Very often you'll be using a SwiftUI version of this, which is called a SwiftUI App, and that would do something entirely different. But this has a few things that I wanted to show you that if you're not going to be using combined, you may want to know about. Alright, so let's start doing some stuff here…

Contents