• 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: protocol not seeing superclass implementation : bug or *feature*?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >protocol not seeing superclass implementation : bug or feature? (From: "Michael B. Johnson" <email@hidden>)

  • Prev by Date: Verification of a bug
  • Next by Date: Re: Verification of a bug
  • Previous by thread: protocol not seeing superclass implementation : bug or feature?
  • Next by thread: Re: protocol not seeing superclass implementation : bug or feature?
  • Index(es):
    • Date
    • Thread