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 templates

SwiftUI templates - watchOS Tutorial

From the course: Apple watchOS 7 App Development Essential Training

Start my 1-month free trial

SwiftUI templates

- [Instructor] If you'd like a more flexible template, or one that doesn't get shackled to data providers, SwiftUI has a solution for the graphic complication families. First, we're going to need SwiftUI and the complication controller. So I'm going to shut off these, and go to the complication controller. And under import Clockkit, SwiftUI Now I've already added it to the extension, which should be here as well. In the complication controller extension, I'm going to scroll down to graphic extra large or I can select it up here, graphic family, and there is graphic extra large. And I'm going to use this one here, and type in "graphic extra large" and what we get with auto complete is a very long list of things. However you'll notice there's a few of these have the word "view" on the end of it. So we got this one here ,the circular view, Stack View text, open gauge view, closed gauge view and I'm actually going to go…

Contents