• 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: pragma nowarn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: pragma nowarn
      • From: Alastair Houghton <email@hidden>
References: 
 >pragma nowarn (From: William Bates <email@hidden>)
 >Re: pragma nowarn (From: Alastair Houghton <email@hidden>)
 >Re: pragma nowarn (From: William Bates <email@hidden>)
 >Re: pragma nowarn (From: Alastair Houghton <email@hidden>)
 >Re: pragma nowarn (From: "Alexander v. Below" <email@hidden>)
 >Re: pragma nowarn (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: pragma nowarn
  • Next by Date: Re: pragma nowarn
  • Previous by thread: Re: pragma nowarn
  • Next by thread: Re: pragma nowarn
  • Index(es):
    • Date
    • Thread