I have implemented awakeFromInsert
to set some default values and relationships in my core data objects. However, the method is being called twice, meaning that the to-many values I am adding are being added multiple times.
I am using parent and child managed object contexts.
What gives?
[super awakeFromInsert];
? – Matthias Bauch