Test the framework version at runtime.  I use the Gestalt functions, personally.

http://cocoadevcentral.com/articles/000067.php

>From the desk of the great Nick Zitzmann himself :)

Paul Sanders.

----- Original Message ----- 
From: "charisse napeÿfffff1as" <cnape...@yahoo.com>
To: <cocoa-dev@lists.apple.com>
Sent: Tuesday, February 23, 2010 10:09 AM
Subject: Deprecated APIs


Hello,

I am not sure if this problem has already been submitted but how do I define 
two APIs, one that is supported from Leopard down and
another that is only supported in Snow Leopard if I only have one binary for 
all OSes?

...
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to