Search code examples
appcode

Equivalent to the Xcode playground in AppCode


I can not find any references to running xcode playgrounds in AppCode so am assuming that were not possible? Here is what an xcode playground looks like in AppCode: I am not even sure where to find the source code.

enter image description here

Is there any way to run/debug a snippet of swift code in AppCode?


Solution

  • Create a new command line tool project with swift language, you will get a clean project that can run swift code directly.

    enter image description here

    enter image description here