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.
Multiple templates - watchOS Tutorial
From the course: Apple watchOS 7 App Development Essential Training
Multiple templates
- [Instructor] Alright, let's go and take a look at something here. I'm going to go shut this down. And we've made two complications so far. And if you go into the Complication Controller Extension, you can see right here in the graphic family, we've made two templates. Now, what if I wanted to use both of these? Because I am not decided which one was better and I'd love it for my users to figure out which one they liked more. So I have two of them now, and I can't really have two of them here or can I? Well, there's a way of handling these two. And so what you going to do is go over where it says Complication Controller and there is a special method called The Get Complication Descriptors. And if you look at this, you'll see in the center of this, a Complication Descriptor. Now this is a special descriptor that has all cases for the complication family. So it says that there is an identifier complication. It has a…
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.