Online Swift Compiler to run your Swift code online
This is just like an online playground for Swift.
let fruitsArray = ["Apple", "Mango", "Pineapple", "Banana", "Pear"]
let lastTwofruits = fruitsArray.suffix(2)
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.