How would you run a Swift 3 file from another?
For example:
if executeFile1 = true{
//Run a program
}
else{
//Run another program
}
I know I could use functions, but this would help clean up my code and make it easier for me to edit in the future.
NOTE:
This is just a snippet of the code. The true/false does vary.