I have a problem that I can’t lower my head, and I hope someone can give me a hint or help.
I have a table containing 7 objects. When clicking one of the objects, the user is presented with a new table corresponding to the pressed objects. Inside this table, the user can click the "Add" button, transferring them to a new table, where they can select objects for table 2.
Table 1 and table 3 (first and last) do not need to be edited, but table 2 is necessary. I need to add the data that the user selects from table 3, and save it when entering the application again after it is closed.
There are always 7 objects in table 1. And you need to have another table 2. Therefore, I'm not sure the best way is to create 7 different arrays.
I have looked and used NSUserDefaultsbefore, however I'm not sure what a good way to get closer to this when using NSUserDefaults.
source
share