Closed jdewind closed 13 years ago
Ah, indeed. Given that we transition this to a runtime check we will need to reconcile what OS we are running on since the checks will be different. E.g., checking UIDevice on iOS and MacOS using NSAppKitVersionNumber? You'll have to forgive me, my MacOS X development experience is relatively limited.
I've pushed commits that perform a runtime check of the OS. I've verified that this works on iOS5, iOS4, and 10.6. I do not have have 10.7 installed so that still needs to be verified.
I still had to use a couple of preprocessor checks to distinguish between Mac and iOS:
Closing. New pull request coming.
It fixes the Toll Free Bridge check. The underlying class names were changes.