RE: Abstract classes and methods
RE: Abstract classes and methods
- Subject: RE: Abstract classes and methods
- From: "Smith, Bradley" <email@hidden>
- Date: Wed, 29 Aug 2001 15:21:35 +0100
Let's not turn this into a "my language is better than your language"
slanging match. C++ has served me - and others no doubt - well over the
years. At the moment Obj-C looks a little bizarre but that's probably
because it's new to me.
IIRC the original question was (basically) how to create the equivilent of
an abstract C++ class in Obj-C wasn't it? All the replies have been along
the lines "why do you want to do that?", "that's a stupid idea" etc. If
Obj-C can't do it then just tell us. We don't want excuses. We all know by
now why Stuart wants an abstract class so let's set about helping him. I
also would like to know how to do it.
Brad
>
Do forget the C++ constructor/desctructor nonsense;
>
init/dealloc are quite
>
normal methods, in no way special (but by some conventions of
>
using them).
>
Especially, they are inherited just like any other method is.
>
---
>
Ondra Cada