Using SwiftData in iOS widget configuration intents
This week I set myself the goal of getting home screen widgets working in Habitat. I hadn’t touched the codebase in over a month since I’ve had to deal with the busiest semester of my MSc course. Before I went on a mini-hiatus, I added a Bubble Grid widget which simply displays all of your habits in a grid of Habitat-style bubbles. Since my app uses SwiftData for storing habit data, the Bubble Grid had to query the database somehow....