Xojo Documentation Xojo Documentation

  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Log in
  • Xojo Documentation
  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

TargetCocoa

From Xojo Documentation

This item was deprecated in version 2018r4.
Please use TargetMacOS as a replacement.
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.

Retrieved from "http://docs.xojo.com/index.php?title=TargetCocoa&oldid=56643"
Categories:
  • Deprecated
  • Deprecated2018r4
  • Constants
  • Language OS
  • Language Constants
  • Compiler
  • This page was last edited on 21 November 2018, at 15:31.
  • Privacy policy
  • About Xojo Documentation
  • Disclaimers
  • Send Doc Feedback
  • Powered by MediaWiki