Re: CILinearGradient on Leopard
Re: CILinearGradient on Leopard
- Subject: Re: CILinearGradient on Leopard
- From: Michael Babin <email@hidden>
- Date: Fri, 21 Mar 2008 08:33:09 -0500
On Mar 20, 2008, at 10:52 AM, Chris Meyer wrote:
I read the tech note for 10.5 describing changes to CILinearGradient
and how
"for applications compiled on Mac OS X v10.4, these filters continue
to
behave on Mac OS X v10.5 as they did previously."
Trying to interpret this imprecise statement, I read it as "for
applications
compiled against the 10.4 SDK."
That reading would be incorrect. It means exactly what it says. If you
compile on 10.4 (running Tiger at the time, not the SDK you are
targeting), then you get the old behavior even when running under
Leopard.
So my question is: How can I reliably determine whether I need to
reverse
the arguments to CILinearGradient?
Building against 10.4 doesn't seem to work. And since I'm built
against 10.4,
I can't check the AppKit version (it will just report the 10.4
version). So
what should I do?
Actually, checking NSAppKitVersionNumber is a good way to determine
which version of the AppKit you're running (<http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/chapter_5_section_1.html
>).
_______________________________________________
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