insert NSDictionary into CoreData
I have an NSDictionary and a CoreData Database. I want to insert the NSDictionary into the database. How can I do this (code snippets if possible)? What is the suitable type for the attribute of the dictionary ? Vincent Bernier You would need to serialize your NSDictionary to an NSData, CoreData can hold to NSData. But you won't be able to search (predicate) element of your NSDictionary. And if we think about this, NSDictionary is a collection of data. A Table in a database is kind of a collection of data. In CoreData the closest thing you got to a collection of data is NSManagedObject. So my