I have set up a class that conforms to NSCoding, and works as expected when I first create the object. It is essentially the same set up as this
The problem I am having is that the properties of the object when changed are not kept.
For example,
Foo is created and has a property called name.
Foo.name = @"bar"
I can encode / decode the object and it retains the name bar.
If I try and change
Foo.name = @"newName"
The encode method is not called again, so foo.name remains as @"bar" (I have a log state within the encode method)
Also,
I am using a core data object, that has a transformable property which points to the foo object.
Thanks