Re: What is "A class which must be subclassed" ?
Re: What is "A class which must be subclassed" ?
- Subject: Re: What is "A class which must be subclassed" ?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 18 Oct 2008 20:28:42 -0700
Thanks for the replies.
Regarding making it a protocol, I don't want to do that because Foo is
really a class which implements many methods that are common to its
subclasses.
On 2008 Oct, 18, at 8:53, Andy Lee wrote:
Would it make sense to reorganize so the instantiation is done by
the Bar class?
Well, actually Foo keeps a weak reference to Bar anyhow. So, no, not
really.
On 2008 Oct, 18, at 18:16, Michael Ash wrote:
The question is ... does it make *sense* to create [an instance of
the base class Foo].
The answer is no.
If the answer is no, then it's an abstract class.
Is my answer a ^sufficient^ condition so that I can state in my
documentation that "Foo is an abstract class" ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden