I've a plist file named as "data.plist" like this:
I have six arrays, and I also have 6 buttons and a text field. I would like to save the string in the text field to the correct array when I press the right button.
There are many approaches, here is one:
livello_0
- livello_5
.let tag = sender.tag
) and get the array with let array = data["livello_\(tag)"]
.