Possible Duplicate:
Find Mac OS X version number in objective c
My application needs to be run on (10.5,10.6,10.7) . I have some different implementation pieces for each of them. So I want to be able to check OSX version from my APP.
How can I do it?
What is the best way to do that? Is there any function like if([osx version])...?
P.S. I'm aware of this question How can I determine the running Mac OS X version programmatically? I just couldn't find what I want for all that 3 versions.
Thanks a lot