bad way to detect yosemite
Sega-Zero opened this issue · 0 comments
Sega-Zero commented
Faced with trouble with one user that runs yosemite with NSAppKitVersionNumber == 1331.12, which is less than 1343 in code.
I think you should better detect OSX version via NSFoundationVersionNumber:
floor(NSFoundationVersionNumber) > NSFoundationVersionNumber10_9