Learn how to develop one of the most compelling and useful features of the Apple Watch: Complications. By Catie Catterwaul.
Who is this for?
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
Part 1: Introduction to Complications
A quick introduction to what a complication is, including graphics showing the location of each type.
Learn the process of setting up your first complication, starting with a data source.
Learn how to tell the Apple Watch when a complication should be updated.
Add support for multiple complication families and learn about their corresponding layout templates.
Add layout templates for multiple complication families.
Use background tasks to keep your complications up to date.
Use background URL downloads to keep your complications up to date.
Employ PushKit to send push notificaiton and keep your complications up to date.
Part 2: Tinted & Custom Complications
Learn how to prepare your complications for a tinted appearance by applying multi-layered images.
Learn how to prepare your complications for a tinted appearance by applying SwiftUI graphic views or conditional rendering modes.
Learn how to create custom complications using SwiftUI.
Refactor the EventView to enable previews and support different calendar types.
Connect your custom SwiftUI view to a timeline entry and display it as a complication.