• 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: Inheritance difficulty...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Inheritance difficulty... (From: Adrian Bool <email@hidden>)

  • Prev by Date: Sync deleted and renamed files
  • Next by Date: Re: DO Connections
  • Previous by thread: Inheritance difficulty...
  • Next by thread: Looking for a solution to a ProjectBuilder and Finder bug
  • Index(es):
    • Date
    • Thread