Getting started with WidgetKit

Apple introduced WidgetKit at WWDC20, a new framework that enables us to build widgets that can be displayed on users' home screens. These widgets are built exclusively using SwiftUI. In this post, John Sundell takes a first look at WidgetKit, and shows us how to get started by building a simple widget.