In my NSManagedObject subclass I implement the awakeFromInsert method to
create a new instance of the object that represents my attribute and then
try to use:
My custom object contains a single data member which is a struct, and the
error I'm getting is:
-[myCustomObject copyWithZone:]: selector not recognized [self = 0x3a5010]
All I want to do is to be able to store custom objects in my Core Data Model
that contain structs, or more simply. I'd like to have attributes in my
entity that are NSData encoded c-structs (as I believe this is the only way
to make them persistent using Core Data).
I'm using a Obj-C wrapper around my struct at the moment, due to the
accessors requiring a custom object pointer. I'm new to this so could be
making a real mess of it. Any clarification would be appreciated.