
Launch into Apple's widget kit with a practical series, building a simple widget while exploring placeholders, three widget families (small, medium, large), and customizable configurations for iOS.
Build a weather widget for iOS with WidgetKit in SwiftUI by downloading forecast data from a simple API using latitude and longitude, and display current conditions in the widget.
Extend a weather widget to support small, medium, and large families by modeling weather data as an array and building per-family UIs using WidgetKit.
Learn to build a configurable expense widget with WidgetKit in SwiftUI by defining intents, mapping categories to entries, and rendering a timeline of expense data.
Update your expense widget for Xcode 12 beta 6 by implementing the new intent timeline alias, placeholder, and getSnapshot and getTimeline methods to resolve build issues.
Learn to build a widget bundle with multiple widgets in SwiftUI, including an exchange rate widget and a configurable quotes widget that fetches quotes from an API.
Fix Xcode 12 beta 6 widget issues by removing placeholders and moving snapshot logic into the timeline provider, then build a smart stack of widgets.
WWDC 20 introduced new and cool extension to your apps in form of WidgetKit. With app widget you can provide useful information about your app directly to your user's home screen. With this course you will learn all about widgets and what they have to offer.
We will build various widgets in this course so we can learn by doing.
Join us in this journey and learn all about widget kit. You will learn simple widgets to configurable widgets. You will build real weather app widget which will download weather information from API and display that in small, medium and large size widgets.
You will also work with Timelines and how to schedule widget updates to display dynamic content on app widgets.
According to Apple widgetkit is:
Easily build widgets and make them available across iOS, iPadOS, and macOS using the WidgetKit framework and the new widget API for SwiftUI. Widgets now come in multiple sizes, and users can visit the new widget gallery to search, preview sizes, and place them anywhere on the Home screen to access important details at a glance. They can also add Smart Stacks — sets of widgets that use on-device intelligence to surface the right widget at the right moment, based on factors like time, location, and activity.