• 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: How can I get rid of this warning message?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How can I get rid of this warning message?


  • Subject: RE: How can I get rid of this warning message?
  • From: Julius Oklamcak <email@hidden>
  • Date: Mon, 21 Jan 2013 15:41:11 -0500

> Ok, I agree that the selector is unknown, but we know from the
> previous line that the target responds to it. So I'd like to
> prevent this particular warning. I'm sure I ought to know how
> do do this, but how do I go about removing this warning message?
> Ideally, I'd like to do this on a file (or occurrence) basis, so
> that I can make sure that other similar usages are similarly safe.

#pragma clang diagnostic ignored "-Warc-performSelector-leaks"

is the #pragma that you are looking for... :)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How can I get rid of this warning message? (From: Rick Aurbach <email@hidden>)

  • Prev by Date: How can I get rid of this warning message?
  • Next by Date: Re: How can I get rid of this warning message?
  • Previous by thread: How can I get rid of this warning message?
  • Next by thread: Re: How can I get rid of this warning message?
  • Index(es):
    • Date
    • Thread