Online Swift Compiler to run your Swift code online

This is just like an online playground for Swift.

// Create a dictionary of top 5 American cities by population var citiesByPopulation = [ "New York": 8804190, "Los Angeles": 3898747, "Chicago": 2746388, "Houston": 2304580, "Phoenix": 1608139 ] print(citiesByPopulation)


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.