• 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: Overriding private method w/o warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Overriding private method w/o warning (From: David Dunham <email@hidden>)
 >Re: Overriding private method w/o warning (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: llvm-gcc
  • Next by Date: Re: llvm-gcc
  • Previous by thread: Re: Overriding private method w/o warning
  • Next by thread: Breakpoints keep getting turned off
  • Index(es):
    • Date
    • Thread