• 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: Disable "missing [super dealloc] call" warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable "missing [super dealloc] call" warning


  • Subject: Re: Disable "missing [super dealloc] call" warning
  • From: Finlay Dobbie <email@hidden>
  • Date: Sun, 1 May 2005 11:45:32 +0100

On 4/30/05, Axel Andersson <email@hidden> wrote:
> Not that it matters what I'm doing, but I'm overriding a class
> completely, and I don't want to let it run its own -dealloc method.

Is there any reason that you don't just override the
retain/release/retainCount methods instead? That would seem more
semantically "correct" to me.

@implementation MyEvilSubclass
- (void)retain {}
- (id) release { return self; }
- (unsigned)retainCount { return (unsigned)-1; }
@end

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Disable "missing [super dealloc] call" warning
      • From: Axel Andersson <email@hidden>
    • Re: Disable "missing [super dealloc] call" warning
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Template static data members in GCC4
  • Next by Date: Re: Disable "missing [super dealloc] call" warning
  • Previous by thread: Re: Template static data members in GCC4
  • Next by thread: Re: Disable "missing [super dealloc] call" warning
  • Index(es):
    • Date
    • Thread