Daniel,<div><br></div><div>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.</div>
<div><br></div><div>Neil</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 9:35 PM, <span dir="ltr"><<a href="mailto:dherring@tentpost.com">dherring@tentpost.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> What's the correct way to determine the OSX version at runtime?<br>
><br>
> Specifically, how do I make the behavior change if it's 10.6 or later?<br>
<br>
</div>I suspect this is the wrong question to be asking. Are you really wanting<br>
to print "10.5" or "10.6"? Or are you asking because feature X is not<br>
available on older versions? Or does feature Y exist but crash<br>
frequently? Is feature Y's fix readily detectable?<br>
<br>
Feature-specific tests that probe for functionality often perform better<br>
than hard coded lookup tables of known configurations (that don't handle<br>
unusual configurations and aren't updated in the future)...<br>
<br>
- Daniel<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Openmcl-devel mailing list<br>
<a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br>
<a href="http://clozure.com/mailman/listinfo/openmcl-devel" target="_blank">http://clozure.com/mailman/listinfo/openmcl-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.pixpopuli.com">http://www.pixpopuli.com</a><br>
</div>