0

When working in Swift Playground can I print the value of a variable? I would like to see the value of a variable in an array.

18th Oct 2016, 1:53 PM
Neville Moray
2 odpowiedzi
0
From what i understand, the following should work. print(variableName) Or print("Var is : \variableName")
26th Oct 2016, 7:31 AM
Rafael g
0
I agree that should work, but it seems that Playgrounds does not implement all Swift commands. If I use "print(variable)" the code runs, but no printout occurs. How can I talk to the implementer of Swift Playgrounds?
26th Oct 2016, 7:40 AM
Neville Moray