Best method to store data for an iOS app? [closed]
I would like to develop a stock/item inventory app as I progress through learning swift. It would basically be something that has, Item Name, Quantity, and Location. eg. Lightbulbs, 25, Work Van Switches, 6, Warehouse When the user inputs this data and presses a button, whats the best method of storing this data and retrieving it later. I know I could append this to an array and display the array, but what if the app closes? Should I be looking at learning database storage? Can I save data to the phone? If the data you want to store is very little and not sensitive, you can use UserDefaults