Closed sdefresne closed 7 years ago
The function object_isClass is only available starting from macOS 10.10 and iOS 8.0 SDKs. To allow targeting older systems (i.e. if the deployment target is older), add an alternate implementation.
The implementation is based on the one used by the Swift runtime: https://github.com/apple/swift/pull/11467/commits/0475307c08
Fixes issue #344.
The function object_isClass is only available starting from macOS 10.10 and iOS 8.0 SDKs. To allow targeting older systems (i.e. if the deployment target is older), add an alternate implementation.
The implementation is based on the one used by the Swift runtime: https://github.com/apple/swift/pull/11467/commits/0475307c08
Fixes issue #344.