Re: Disable "missing [super dealloc] call" warning
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