Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Apr 30, 2005, at 19:46, Daniel Jalkut wrote:

If you're overriding a class completely, then it strikes me that you shouldn't be a subclass of that class.

What if you are just a subclass of NSObject and use poseAs: to "override" the other class?

A good idea, but in this case I need instance variables, so I piggy- back on existing ivars in the class I'm overriding. I know I'm stepping in unsupported territory here, but the original question was just about the warning and how to turn it off (as every other warning has a -Wno- equivalent in gcc), and I've already answered that myself, but thanks anyway.


--
Axel Andersson
email@hidden
http://www.zankasoftware.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.