> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to