lundi 26 janvier 2015

Can a core data relationship have multiple destinations?

I have a general class that has two properties: name and objects. The objects property can have several different types of custom objects.


Is there a way to setup a to-many relationship on the objects property so it can contain several different types of objects?


I know I can use NSArchiver and a transformable type, but I was wondering if there's another way.




Aucun commentaire:

Enregistrer un commentaire