How to take user input on the playground in Swift?

I want to take user input from the command line. I use readLine(), but I can not give any input.

+4
source share
1 answer

In the playground it is impossible to enter data from the user. A playground is just a launcher for your quick code.

excuse me!

+1
source

Source: https://habr.com/ru/post/1663079/


All Articles