Reputation: 738
I'm programming an App which needs to store data to files (or any non-volatile method). I also have to say NSUserDefaults is not a good idea for my case since I'm storing arrays of structs. I also tried storing it with C's fwrite() but this options seems very inefficient. So my questions is now: How can I efficiently store data to Apple Watch's storage with Swift
Upvotes: 0
Views: 1036
Reputation: 46718
Apple's Core Data is the persistence engine of choice for complex data structures. It is integrated into Apple's other frameworks and is under active development and is mature.
Upvotes: 1