Re: pragma nowarn
Re: pragma nowarn
- Subject: Re: pragma nowarn
- From: "Alexander v. Below" <email@hidden>
- Date: Wed, 12 Dec 2007 14:20:36 +0100
So build against the 10.3 SDK (or the 10.4 or 10.5 SDKs) instead,
setting the "Mac OS X Deployment Target" build setting to 10.2.
Then the method will have been declared by the framework headers.
(There are hackier solutions, for instance declaring the method
yourself e.g. on a category of NSNotificationCenter. But the
officially supported one is using the newer SDK and the deployment
target setting.)
Well, but generally I want to know about anything I am using that is
not in 10.2 - or, let's call it SDK(n-1).
I think this is a good example where you want fine-graning "no
warnings" areas. performSelector: will not cut it, because there are
too many arguments, so I am probably left with some NSInvocation voodoo.
Moving it into a category, if I am not mistaken, will just move the
warning to a different place.
Alex
_______________________________________________
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