Please I am trying to gain some knowledge in core data. I have so far gotten the hang of creating entities and adding, retrieving and deleting values from this entity.
My question is the following. What are the possible ways of storing NSDictionary
properties in an entity when using core data?
you should use "Transformable Attributes":
*.xcdatamodeld
fileNSManagedObject
subclass files (File->New->File ... NSManagedObject
subclass)*.h
file and change type for property "info" from id to NSMutableDictionary*everything else works automatically
for more information see: https://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html