+ 11

No "try it yourself" for Swift?

There seems to be no "try it yourself" feature in the code playground for the Swift modules. Are they coming? Impractical/impossible? All the other language modules have this feature which is a great learning aid.

11th Apr 2017, 1:45 AM
David Ashton
David Ashton - avatar
6 Answers
+ 11
@Tashi N, the SoloLearn App is available in AppStore on iOS as well. SoloLearn iPhone users at least should be in position to have emulation capabilities for their own programming language. More still, it should at least be available for SoloLearn Web users. Apple designed Swift Playgrounds but availed it to only iPad users. https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=908519492&mt=8&ls=1 However, there are options for web and Android users like CodeFights, exercism, SwiftBites, Swifty and Code Arcade where Swift is supported. SwiftBites for Android 👇 https://play.google.com/store/apps/details?id=com.beaconmobile.swiftbites In my opinion, I think Apple Inc reserved that feature for their own XCode Playgrounds.
11th Apr 2017, 5:16 AM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
+ 11
Hard to do for an Android app, I guess. Would need OS X emulation.
11th Apr 2017, 5:01 AM
Tashi N
Tashi N - avatar
+ 10
I found the Android app Dcoder is a great place to paste and run code, including Swift 3.
17th Apr 2017, 5:25 AM
David Ashton
David Ashton - avatar
+ 6
@Tashi N Sorry, but, as I know, you are wrong here. PHP playground for example does not emulate web-server with full PHP support with everything useful. Neither we have full emulation with other languages (no graphics anywhere except web). And there are some Swift playgrounds around the web at sites with such sandboxes/playgrounds.
19th Apr 2017, 9:25 AM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 4
@David, Thanks for Best Answer acknowledgement!
30th Jun 2017, 1:44 AM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
+ 2
Download swift playgrounds, an app i used to learn swift made by apple
13th Apr 2017, 1:30 PM
Jacopo Franciosi
Jacopo Franciosi - avatar