- 2
How to get the User Input in Swift 5
How do I get the user input in swift
2 Réponses
+ 1
Using readLine()
Check this : https://www.programiz.com/swift-programming/basic-input-output
0
f = File.new("sample.txt","w+")
f.write("start")
14.times do
f.puts("hi")
end
f.write("end")
f.close