I’m coming from Xcode Developpement. In Xcode there is an easy way to save user preferences in a dictionary (Key, Value). Key is a string and value a basic string/integer/bool.
In Xojo how can we manage user preferences in macOS and iOS application ?
You can create a dictionary and store your values in there. The dictionary can be saved as a JSON text file.
When your app opens, you can load this data in a dictionary in your app, to access it whenever you need. When your app closes, or whenever you change this dictionary, you could save the file. Remember that any string data needs to have be UTF8 encoded.