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.
2 Réponses
0
From what i understand, the following should work.
print(variableName)
Or
print("Var is : \variableName")
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?