Is there a better way to detect if Swift is supported in the current Xcode project than checking for iOS 8 or OSX 10.10?
#if defined(__IPHONE_8_0) || defined(__MAC_10_10)
I have a mixed Swift/Objective-C codebase with two different Xcode projects.
Is there a better way to detect if Swift is supported in the current Xcode project than checking for iOS 8 or OSX 10.10?
#if defined(__IPHONE_8_0) || defined(__MAC_10_10)
I have a mixed Swift/Objective-C codebase with two different Xcode projects.