Learn how to prepare your complications for a tinted appearance by applying SwiftUI graphic views or conditional rendering modes…
iOS & Swift
Display a SwiftUI View in a Complication
Feb 7 2023 · Lesson
Connect your custom SwiftUI view to a timeline entry and display it as a complication…
iOS & Swift
Build a SwiftUI View for a Complication
Feb 7 2023 · Lesson
Learn how to create custom complications using SwiftUI…
iOS & Swift
Refactor SwiftUI Views
Feb 7 2023 · Lesson
…this, we’ll start by creating an Event type in a new Swift file called Event. Creating an Event type We’ll want both SwiftUI and EventKit for this type, and we’ll make it struct called “Event” import EventKit import SwiftUI struct Event { } It should hold the five properties…
iOS & Swift
watchOS: Complications
Feb 7 2023 · Video Course (57 mins)
…most compelling and useful features of the Apple Watch: Complications. This course is designed for developers who have some experience with Swift, SwiftUI, and building apps for watchOS. watchOS Complications Complication Families and Templates Timeline Entries Background Tasks Push Notifications SwiftUI Views Factory Method Design Pattern…
iOS & Swift
Explore Complications
Feb 7 2023 · Lesson
…multiple templates which describe the layout of the complication. Most of the templates consist of simple text and images, but some do provide partial SwiftUI View support. Complication Reference You can find a visual reference for all of the families and templates in the materials for this course…