Re: Overriding private method w/o warning
Re: Overriding private method w/o warning
- Subject: Re: Overriding private method w/o warning
- From: David Dunham <email@hidden>
- Date: Mon, 07 Sep 2009 14:37:41 -0700
On 7 Sep 2009, at 14:19, Jens Alfke wrote:
Try declaring a category on NSApplication that contains the method:
@interface NSApplication (InternalStuffIShouldNotUse)
- (BOOL) _shouldTerminate;
@end
Then [super _shouldTerminate] should compile without warnings.
Thanks. I thought about categories but for some reason didn't think it
would work. It does -- compiles quietly and works at runtime.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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