Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CILinearGradient and 10.5 mess




On Mar 20, 2008, at 3:45 PM, Chris Meyer wrote:
How would an application ever tell which SDK it was built against?

Most apps don't need to know what SDK they were built against; they need to know what the current OS version is. That's what NSAppKitVersionNumber is meant to provide - what version of AppKit are you currently running against. It has _never_ been meant to indicate what version of the SDK you linked against.


Before you dismiss this message (Eric), I think the case in point is how CILinearGradient works. It is NOT backwards compatible. The Core Image guys probably (correctly) assumed that NSAppKitVersionNumber would return the version of AppKit _linked_ against rather than _available on the system_.

I don't know exactly what they assumed or how this was implemented, but I do think that the behavior you're describing sounds like a bug in CoreImage.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >CILinearGradient and 10.5 mess (From: "Chris Meyer" <email@hidden>)
 >Re: CILinearGradient and 10.5 mess (From: Jack Small <email@hidden>)
 >Re: CILinearGradient and 10.5 mess (From: "Chris Meyer" <email@hidden>)
 >Re: CILinearGradient and 10.5 mess (From: Eric Schlegel <email@hidden>)
 >Re: CILinearGradient and 10.5 mess (From: "Chris Meyer" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.