2 Replies
      Latest reply on Sep 7, 2019 12:21 PM by alex_taffe
      TungstenT Level 1 Level 1 (0 points)

        This documentation says to use to use the following code to exclude code from being compiled for UIKit for Mac:

        #if !targetEnvironment(UIKitForMac)

        But that doesn't compile in C or Objective-C code, which makes me think this is a Swift-ism. What's the C/Objective-C equivalent?