Summary
We started the chapter by learning about the basics of widgets and WidgetKit. We learned about the general guidelines, the basic options, and their purpose. After that intro, we jumped straight into developing our first widget. We started by adding a small-sized widget to an existing app.
Then, we added a placeholder view to the widget so that it gives the user a good idea of what the widget would look like the first time it loads. After that, we created a bigger, medium-sized widget version that is able to display much more information and provide more value than the small-sized widget.
Finally, we learned how to make the widget configurable by the user with the help of Siri custom intents. By using a custom intent, users are able to provide certain configuration values to the widget to personalize the experience.
In this chapter, you learned how to create widgets and make the most out of WidgetKit. In the next chapter, we will learn about ARKit, the augmented reality...