How to save app settings using SwiftData?
I want to save the user settings in my app so when the app gets restarded the changes persist between runs. Mainly I would like to save the icon name (String) and the color theme (enum called Themes, described down below).