After reading and using a @StateObject in a test, I have a question.
Is there an easy way to save locally the state of a view with content like some behaviour of the @StateObject, to reuse it after a restart of a program?
Like Safari and some app's remembers what you did do on a web page, I would like to save f.e a ClientView and SubViews their (view)state and (text/selection)content so I can put the clientView in the original state after a restart.
Are there comments or any insight on this somewhere?
Is there an easy way to save locally the state of a view with content like some behaviour of the @StateObject, to reuse it after a restart of a program?
Like Safari and some app's remembers what you did do on a web page, I would like to save f.e a ClientView and SubViews their (view)state and (text/selection)content so I can put the clientView in the original state after a restart.
Are there comments or any insight on this somewhere?