Learn Courses My Dashboard

Where to Store App Data

Let’s say I’m making app that draws a random card each time the app opens. There would be a fixed set of cards. One for each in the deck. Do you guys think it be better to store each card’s information in the app bundle? Or in a remote database?

I’m assuming that you are referring to storing the 52 card images or a subset of those 52? Probably just as easy to store them in the App Bundle in the Assets folder.

Thank you, Chris. That was my initial thought. I just wasn’t sure if that would make my app too large. It would be all the image assets and the json with each card’s properties.