TargetMacOS
From Xojo Documentation
Constant As Boolean
anBoolean = TargetMacOS
Used to indicate that you are compiling code for macOS.
Usage
result = TargetMacOS
Part | Type | Description |
---|---|---|
result | Boolean | Returns True if you are compiling or running for macOS. |
See Also
DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetiOS, TargetDesktop, TargetLinux, TargetLittleEndian, TargetARM, TargetWeb, TargetWindows, TargetX86 constants; #If...#Endif statement.