Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arkmannj

macrumors 68000
Original poster
Oct 1, 2003
1,757
549
UT
As I am learning Swift, I find it would be nice if I could practice and run through concepts when I have down time "on-the-go" without my laptop.

I know that in Mac OS X (er... OS X....er Mac OS :p) I can use Playground, and can even use the terminal. Also, I know that Apple is developing Playground for iOS to be released later this year. But I was wondering if anyone knows of a simple REPL (more akin to the Terminal version on my Mac) just to practice and repeat basic concepts. I'm not necessarily looking for anything that has cocoa, UIKit, etc.. really just basic text style input and outputs to practice Switches, variables/constants/Paramaters, loops, Reference/value types, Clases, Functions/Methods, Structs, enumerations, protocols, etc...etc...


I did try searching the App store an dI've tried Swifty, but that wasn't quite what I was looking for.

Thanks!
~Ark
 

firewood

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
There are lots of basic REPL apps that run on iOS in App Store! But for other programming languages, such as Basic, Lisp or Python. Not Swift.

Now if you install the iOS 10 beta on an iPad, it comes with Swift Playgrounds for iPad.
 

arkmannj

macrumors 68000
Original poster
Oct 1, 2003
1,757
549
UT
There are lots of basic REPL apps that run on iOS in App Store! But for other programming languages, such as Basic, Lisp or Python. Not Swift.

Now if you install the iOS 10 beta on an iPad, it comes with Swift Playgrounds for iPad.
Thanks for the reply and info. at least I don't feel so blind for not finding a Swift REPL.

I wish the ios playground could run on iPhone, I have a 6s and am signed up for the public beta, but for iPad we only have an iPad Mini (1st Gen) which looks like it's to old to be on the supported device list :/
http://www.apple.com/ios/ios10-preview/ (bottom of the page if anyone is interested)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.