readLine() in playgrounds

Is it possible to read keyboard input in a playground? I've tried using readLine() but that seems to always return nil.

Replies

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.