• 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: iPhone Platform Compiler Symbol?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone Platform Compiler Symbol?


  • Subject: Re: iPhone Platform Compiler Symbol?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 14 May 2009 15:02:06 -0700


On May 14, 2009, at 2:51 PM, K. Chen wrote:

Nothing seems to indicate specifically that's it's an iPhone platform; doesn't it? Maybe __APPLE__ is the closest I can get??

#include <Availability.h>

#if __IPHONE_OS_VERSION_MIN_REQUIRED > 0
	//  Code in this block is for iPhone only
#else
	// Code in this block is not for iPhone
#endif


_______________________________________________ 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: 
 >iPhone Platform Compiler Symbol? (From: "K. Chen" <email@hidden>)
 >Re: iPhone Platform Compiler Symbol? (From: Chris Espinosa <email@hidden>)
 >Re: iPhone Platform Compiler Symbol? (From: Michael Crawford <email@hidden>)
 >Re: iPhone Platform Compiler Symbol? (From: Philip Aker <email@hidden>)
 >Re: iPhone Platform Compiler Symbol? (From: "K. Chen" <email@hidden>)

  • Prev by Date: Re: iPhone Platform Compiler Symbol?
  • Next by Date: Number appended to filenames in English.lproj
  • Previous by thread: Re: iPhone Platform Compiler Symbol?
  • Next by thread: Re: iPhone Platform Compiler Symbol?
  • Index(es):
    • Date
    • Thread