I am curious what the best (least memory, fastest retrieval) way to store small amounts of data is in Swift? And with that, what the best way to store large amounts of data is. I am trying to store a dictionary of about 25 key/value pairs in Swift – a [String: String] mapping. I can do this with a JSON file, plist, struct, class (not optimal). I am deciding between a struct and a plist file, since I know that structs are passed by value and Apple seems to like plist files (we have Info, Entitlements, etc). Plist files are in XML format, which I thought carried slightly more overhead than JSON files. However, it’s easier to retrieve/encapsulate data with a struct as opposed to loading from a plist file.