Re: protocol not seeing superclass implementation : bug or *feature*?
Re: protocol not seeing superclass implementation : bug or *feature*?
- Subject: Re: protocol not seeing superclass implementation : bug or *feature*?
- From: Marcel Weiher <email@hidden>
- Date: Wed, 27 Mar 2002 10:19:25 +0100
On Wednesday, March 27, 2002, at 08:56 AM, Michael B. Johnson wrote:
which, given that NSView *does* implement this method, and TestView
clearly inherits from NSView, it seems silly for the compiler to
complain. Is this somehow a feature, and I'm missing it? Or is this a
genuine bug? If it's not a bug, what's the best way to not get the
error - I can obviously declare and then implement
- (NSRect)bounds {
return [super bounds];
}
but that seems silly (or again, maybe not - I think I'm just not seeing
some obvious feature of this).
That is the way it is defined and even documented (somewhere). However,
I also fail to see the advantage...
I am not sure, but I think I saw a gcc option somewhere for turning this
off. Can't find it now, so maybe I was imagining things.
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.