I’m thinking about a watch app that stores small bits of data. Is the Dictionary structure meant to be used to structure data before it is stored on device? Or is it mainly used for messaging with a phone app?
What kind of data are you thinking about storing? The Dictionary’s a fine choice, but everything’s stored on the heap which may or may not be what you want.
I’m planning to build an app that helps people keeping track of their mental energy following the Spoon Theory. It will have some of the aspects of the app I build of iOS ( Daily Spoons‑App – App Store ). So I need to store some labels and ints. Maybe I should start with storing using keys and see how far I get with this?
Seems like it might be easiest to just store an arcay of fixed-length strings and an array of ints, in that case? You can still store it on the heap if you need the user to be able to add or remove entries. Or you can just put it on the stack if they’re predetermined categories.