Upvote:2

Aprove answer

Your addToCoreData_value: method creates a new "Trap" object and is called for each attribute.

You have to change the logic to create the "Trap" object first, and then add all attributes to this object.


Credit Goes to: stackoverflow.com

Related question with same questions but different answers