In my app, I have a NSDictionary
whose keys should be instances of a subclass of NSManagedObject
.
The problem, however, is that NSManagedObject
does not implement the NSCopying
protocol which means that no Core Data objects / instances of NSManagedObject
can be used as dictionary keys even though the -[hash]
method works fine for them.
Was should I do?