Is it possible to read keyboard input in a playground? I've tried using readLine() but that seems to always return nil.
readLine() in playgrounds
Any help in the SO thread?
http://stackoverflow.com/questions/24004776/input-from-the-keyboard-in-command-line-application
Is it possible to read keyboard input in a playground?
NO.
To experiment keyboard input features like `readLine()`, create an OS X>Command Line Tool project and run it in Xcode, Debugging Console pane will work as a terminal.