Apple becomes more friendly to its developer by announcing that they Open sourced their Swift programming language. also, another happy news is you can Run your Swift code in any web browser with the IBM Swift Sandbox. Recently to create iOS Apps, you need an apple computer and Swift IDE installed, but now you can compile your Swift code almost every platform even in Android too.
How To
1. Open IBM Swift Sandbox
2. here you can paste your Swift code in source code box, also you can play with the Source Samples
3. After that click Run to compile your Swift code