SDK 10.6 with Target 10.5
SDK 10.6 with Target 10.5
- Subject: SDK 10.6 with Target 10.5
- From: Leonardo <email@hidden>
- Date: Mon, 14 Mar 2011 00:19:03 +0100
- Thread-topic: SDK 10.6 with Target 10.5
Hi,
on Xcode 4.0, I have noticed, just accidentally, that when the Base SDK is
set to Mac OS X 10.6 and the deployment target to 10.5, I don't get any
alert about the use of not-available-APIs. In facts I have used
[NSNumberFormatter localizedStringFromNumber:...
which is available on 10.6 and later, and I didn't get any advise.
Instead if I set Base SDK to 10.5 I properly get a yellow alert issue.
Is that correct?
Or should I never user this combination because it makes no sense?
With this I send my best congratulations to the engineers who worked on the
new Xcode 4.0. It's a great improvement.
Last, which API should I use instead of localizedStringFromNumber when
compiling for Mac OS X 10.5?
Regards
-- Leonardo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden