I have an object that implements serializable, and I have a dictionary with several of these objects. When I compile and run, I get a lot of warnings that I am replacing values ββfor keys. This is because when serializing the next object in the dictionary, it stores the variables with the same key as the previous one, right? How can i solve this? is there any way to find out in the encodeWithCoder method if any variable has been saved with that name?
source
share