Saving / Retrieving User Preferences For An App


This is kind of basic, but… I want to add a feature to my apps that lets people set their preferred font size (and perhaps other settings as well). I’m sure I could figure out how to do this myself (started doing this with a local TinyDB in another app), but if anyone has already done this before and can point me to some sample code or a forum discussion about this, it would be appreciated. This seems like something that could easily be modularized into reusable code across multiple applications.