Re: Inheritance difficulty...
Re: Inheritance difficulty...
- Subject: Re: Inheritance difficulty...
- From: Marcel Weiher <email@hidden>
- Date: Wed, 30 Oct 2002 18:05:30 +0100
On Wednesday, October 30, 2002, at 11:04 Uhr, Adrian Bool wrote:
I'm relatively new ot ObjC, being more used to C++, however I'm
wondering
if anyone could save me from throwing this pretty iMac out of my 4th
story
window!! ;-)
Wouldn't that be a shame..
I am trying to sub-class NSFilehandle to produce a new Class, INSocket.
Why?
Right now all I am trying to do is create my subclass and pass on the
initialiaser (almost) without alteration with the intent that my
INSocket
should, for now, behave exactly like an NSFileHandle. My only change
is
to alter the initialiser name such that it as the word 'Socket' in -
so I
can tell which function (mine or superclass') the run-time system moans
about...
Hmm, then don't subclass, just add the new initializer via a category.
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.