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 - watchOS Tutorial
From the course: Apple watchOS 7 App Development Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Starting a SwiftUI watch project by extensions3m 48s
-
(Locked)
SwiftUI on watchOS3m 45s
-
(Locked)
Copy a phone interface5m 36s
-
(Locked)
Add a watch interface3m 57s
-
(Locked)
Add previews and scrolling1m 53s
-
(Locked)
Presenting navigation3m 20s
-
(Locked)
Add buttons and dismissals5m 33s
-
(Locked)
Challenge: Ratings page39s
-
(Locked)
Solution: Ratings page7m 28s
-
(Locked)
-
-
-
-
-