14

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?

WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560

2 Answers2

7

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

Kxrr
  • 506
  • 6
  • 14
1

Playground is not supported in AppCode at this moment (v2022.2): https://www.jetbrains.com/help/objc/ac-mg-xcode-features-unvailable.html

kelin
  • 11,323
  • 6
  • 67
  • 104