how i run and compile swift file on computer ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how i run and compile swift file on computer ?

after i programmed swift language . i want to run it on computer what is the extension of file ? what is the requirments to run this code and this programme ? thanks (;

17th Feb 2017, 12:28 PM
Mohammed Qabbari
Mohammed Qabbari - avatar
1 Answer
+ 1
First of all, to run the Swift programs you have a MAC os and Xcode tool (you can get more idea about this by googling). So if you have Apple's mac machine you can install Xcode to it directly to run the swift progras. If you are using Windows than you need to install Mac os on your machine via VMWare (for that you require altest i3 processor as-well-as 6 to 8 GB RAM on you Windows machine). After installing the MAC os on your machine. You need to install 'Xcode' to run Swift programs. The extension for swift program is '.swift'
19th Feb 2017, 5:39 AM
Chintan Maisuriya
Chintan Maisuriya - avatar