The program duplicate the list on the tableview if I go back from secondviewcontroller
问题 I have a viewcontroller with a tableview and with a list of places. If I touch a place from the list, I go to the SecondViewController scene to see more information about the place. But when I go back with the back button, the program duplicate my original list, so the places are two times on the list, then three times, four times... Every time if I go to the SecondViewController and then go back. Here is my ViewController: import UIKit var nev: [String] = [] var cim: [String] = [] var ar: