To run a Swift script in Terminal type the following:
Alternatively you can put the following line of text at the top of the script file and run that file
To run a Swift script in Terminal type the following:
Alternatively you can put the following line of text at the top of the script file and run that file