Add support for conditional compilation under macCatalyst Developers can now detect whether they are compiling for macCatalyst at compile time with: #if targetEnvironment(macCatalyst) // Code only compiled under macCatalyst. #end