TargetCocoa

From Xojo Documentation


Constant As Boolean

anBoolean = TargetCocoa

Used to indicate that you are compiling a Mac app.

Usage

result = TargetCocoa

Part Type Description
result Boolean Returns True if are compiling or running a Mac app.

Notes

All Mac apps use Cocoa.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetDesktop, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetWeb, TargetWindows, TargetX86 constants; Declare, #If...#Endif statements.