Online Swift Compiler to run your Swift code online
This is just like an online playground for Swift.
var colors = ["Green", "Red", "Yellow", "Black"]
var i = 0
let color = colors[i] //access ith element of colors array
i += 1
} while (i < colors.count)
If your code takes user input, put it here. For multiple inputs, one per line
We realize that an online Swift playground will be so helpful who are willing to learn Swift coding.
Newbies need an easy-to-use IDE for basic Swift programming. So we have developed this online IDE.