TargetCocoa

From Xojo Documentation

Revision as of 19:11, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated |" to "{{DeprecatedItem |")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constant As Boolean

aBoolean = 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.