Summary
Widgets are enjoyable and fun UI elements we can work with in iOS development. They provide sleek UI, great animation, and a glanceable user experience. We have seen that each iOS version has added interesting new widget capabilities to make widgets more powerful than ever.
In this chapter, we learned about the idea of widgets, how to add widgets, creating a timeline, and adding user-configurable options. Also, we learned how to create custom animations and even add user interaction. WidgetKit has become a fascinating framework to work with. In the next chapter, we’ll continue to discover how to improve the user experience, this time with SwiftUI animations.