If an abstract entity has it's own custom class, is that class usually abstract, too?
views:
30answers:
4
A:
a cladd needs to declare abstract untill all of these method have implementation,it depends on if your custom classes are concrete then no....
Rozer
2010-06-04 10:28:34
+2
A:
Classes only are abstract if they are marked with the keyword abstract
. So the inner custom class may be or may not be abstract, it's independent of its "container".
pakore
2010-06-04 10:32:00
are you talking about core data?
dontWatchMyProfile
2010-06-04 19:40:01
A:
Objective-C does not have an abstract class definition at this time. Therefore the subclass for an entity is not abstract but you can treat it as such if you so choose.
There is no one-to-one relationship between entities and classes so you can have one class that is being used by multiple entities if you so choose.
Marcus S. Zarra
2010-06-04 17:26:01