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.
Is there any way to run/debug a snippet of swift
code in AppCode
?
An Xcode project allows you to create real apps that you could eventually upload to the App Store (providing you became an Apple Developer). An Xcode Playground allows you to play with code and test it out. It isn't for mainstream developing.
One of the biggest differences between Swift Playgrounds and Xcode Playgrounds is that Swift Playgrounds are much less powerful and are built more as an educational tool. My biggest fear is that as Apple brings Swift Playgrounds to the Mac that they will stop supporting and growing Xcode Playgrounds.
Along the way, you'll get familiar with AppCode features and learn how to enable an interactive SwiftUI preview in AppCode using the InjectionIII application.
An IDE used for developing iOS/macOS apps. AppCode natively supports Objective-C, Swift, C and C++, as well as JavaScript, XML, HTML, CSS and XPath.
Create a new command line tool project with swift language, you will get a clean project that can run swift code directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With