Re: CoreData not noticing changes to transformable properties

2010-12-03 Thread Adam Swift
Core data attributes are expected to be immutable and will be treated as such. To property track changes to the value of an attribute you'll need to replace the attribute object on the owning managed object with a different instance. Take a look at the encapsulation section of the model objec

CoreData not noticing changes to transformable properties

2010-12-03 Thread Jonathan del Strother
Hi, I have an NSManagedObject with a transformable property arrayOfWidgets, which is an NSArray of Widget instances, which implement encodeWithCoder: If I treat the Widget class as immutable, it all works fine : I assign an NSArray of initialized widgets to arrayOfWidgets, and call save on the ma