Widget with Core Data guidance

I have an app that has a Core Data store for dates with descriptions that I'd like to present in a widget with countdown calculations. In the app I have a button that just equates an active calculation to the currently selected item in the database (using an EnvironmentObject). I gather I can't use this mechanism inside a widget, right?

The user could put tons of items into the database - so I'm sure I don't want to have an editable widget allowing them to pick. I suppose I could create an intent and allow an independent entering from the app - but that seems rather user hostile since they've already entered it for the app - and I'm still trying to support iOS15 which doesn't support that.

I did create an App Group and have the Core Data store available from within the widget, but I don't see how to allow the user to choose which date is active. I also want multiple widgets to be able to point to different dates. Any help would be appreciated. Thanks!

One idea I thought of would be to add a flag to my CoreData that allows one date to be selected as "widget ready" then the creation of the widget could pick that up.

I'm not sure this is "better" than just creating a iOS 16+ intent that allows a date & description entry as the widget is being added.

One feature that would be really useful would be if the same date is selected as one that's in the database already, then the description text from the database could be offered as a default. I have no idea how I'd go about that but it sounds useful.

Widget with Core Data guidance
 
 
Q