[Openmcl-devel] Determining OSX version at runtime
neil.baylis at gmail.com
Fri Aug 27 00:08:49 CDT 2010
There's a feature that's available in 10.6 that's not available in 10.5,
specifically, the ability to assign an NSImage directly to the content
property of a CALayer in Apple's Core Animation technology.
On Thu, Aug 26, 2010 at 9:35 PM, <dherring at tentpost.com> wrote:
> > What's the correct way to determine the OSX version at runtime?
> > Specifically, how do I make the behavior change if it's 10.6 or later?
> I suspect this is the wrong question to be asking. Are you really wanting
> to print "10.5" or "10.6"? Or are you asking because feature X is not
> available on older versions? Or does feature Y exist but crash
> frequently? Is feature Y's fix readily detectable?
> Feature-specific tests that probe for functionality often perform better
> than hard coded lookup tables of known configurations (that don't handle
> unusual configurations and aren't updated in the future)...
> - Daniel
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel