• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Abstract classes and methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Abstract classes and methods
      • From: Chris Gehlker <email@hidden>
    • Re: Abstract classes and methods
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Abstract classes and methods
  • Next by Date: Re: Abstract classes and methods
  • Previous by thread: Re: Abstract classes and methods
  • Next by thread: Re: Abstract classes and methods
  • Index(es):
    • Date
    • Thread