I can't seem to find any information in the documentation or via Google on this, but if there is something, a pointer to it would be great.
In my app, I have a Thing
as a core data class. I intend to have that Thing
contain many Item
s which has a bunch of fields in it, like order
and created_date
and so forth. However, there are a variety of Item
types, each with their own set of fields. Ideally, I'd like to create several subclasses of Item
, so that I can access all the items together in a single array or something.
In Rails, I'd use STI for this. Does Core Data support similar behaviour?
Thanks!