Persistent Object storage


#1

This has probably been asked before but i’m going round in circles with this.

I have an app that I want the user to select a colour for the theme. When they select a color the theme color changes. I just want to save it as an object color:red but when they restart the app I want it to persist so the colour is remembered.

How can I save simple persistent object data. Will local storage do it or do I need sqlLite?