Re: what's the right define to use for 10.5/10.6 differentiation
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