Here's a rough representation of the data structure:
[
"recipeName" : [
"ingredients" : [String],
"rating" : Int,
"picture" : UIImage,
"url" : URL ]
]
Since storing large amount of images would require all the data to be loaded in memory while performing SQL queries, I was advised against using CoreData.
Currently I'm trying to store around 1000 objects as blob using NSCoder
.
Given that this project intends to provide iCloud backup as well, is it ideal to store the large amount of data using NSCoder
as opposed to CoreData
performance-wise. I'm really new to persistent storage and their performance implications, please help me. Thank you.