TargetMacOS

From Xojo Documentation

Revision as of 19:26, 13 July 2018 by PLefebvre (talk | contribs) (See Also)

Constant As Boolean

aBoolean = TargetMacOS

Used to indicate that you are compiling code for OS X using the Cocoa framework.

Usage

result = TargetMacOS

Part Type Description
result Boolean Returns True if you are compiling or running for OS X.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetCocoa, TargetDesktop, TargetLinux, TargetLittleEndian, TargetMachO, TargetWeb, TargetWindows, TargetX86 constants; #If...#Endif statement.