• 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: what's the right define to use for 10.5/10.6 differentiation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what's the right define to use for 10.5/10.6 differentiation


  • Subject: Re: what's the right define to use for 10.5/10.6 differentiation
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 30 Dec 2009 11:38:53 -0800

On Dec 30, 2009, at 05:40, Roland King wrote:

> I have this in the header file to pick out when I'm building for iPhone
>
> #if TARGET_IPHONE_SIMULATOR | TARGET_OS_IPHONE
>
> but I can't figure out what to check for to disambiguate between 10.5 and 10.6. I have wandered around the documentation, tried a few likely searches, and looked in some header files to see if I can find something but I've not found what I'm looking for. If there is a documentation link I've missed please feel free to point me to it.

I have (for example):

	#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5
	@protocol NSTableViewDelegate <NSObject> @end
	@protocol NSTableViewDataSource <NSObject> @end
	#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

  • Follow-Ups:
    • Re: what's the right define to use for 10.5/10.6 differentiation
      • From: Gustavo Pizano <email@hidden>
References: 
 >what's the right define to use for 10.5/10.6 differentiation (From: Roland King <email@hidden>)

  • Prev by Date: what's the right define to use for 10.5/10.6 differentiation
  • Next by Date: Re: what's the right define to use for 10.5/10.6 differentiation
  • Previous by thread: what's the right define to use for 10.5/10.6 differentiation
  • Next by thread: Re: what's the right define to use for 10.5/10.6 differentiation
  • Index(es):
    • Date
    • Thread