Pantry
Pantry copied to clipboard
The missing light persistence layer for Swift
This PR enables Pantry to read its legacy storage format (plist). This is necessary when upgrading from a pre-swift-3 version of the framework a current version, otherwise the storage contents...
Hello guys, I'm having a serious problem with Pantry. I didn't change anything from what I had before the update (it's a project that could wait). After this update, Pantry...
I have the following nested model: ```struct Checklist: Unboxable { let id: String let agencyId: String let name: String var checklistItems: [ChecklistItem] init (id: String, agencyId: String, name: String, checklistItems:...
I needed to explicitly store a 64-bit Int on 32-bit devices, but Pantry doesn't support Int64 by default. Including this line seems to work: `extension Int64: StorableDefaultType {}` (Hopefully there's...
How to prevent iOS from cleaning saved data on low memory?
Hi, Would you please help to let me know if this is plan for macOS platform? Or the guide how to make it be work for macOS. Thanks
I think it would be kind of nice to be able to save to different locations. Right now, it saves in the Caches directory, but maybe we could also save...
Hey! Good job on Pantry! I've built a new extension that inherits from `Storable`. Added extensions for default implementations (It uses Reflection to generate property-value pairs that's then typecasted to...
It would be nice to have a way to get all the keys or directly keys/objects stored in the warehouses. I made an extension of Pantry using the following code...
- [x] Default types (String, Int, Float, Double) - [x] Arrays of Default types - [x] Storable structs with default type properties - [x] Storable structs with arrays of default...