Executing an entire swift file

Is there a way to call on a separate swift file in your project and execute everything in the class?
I know how to execute a specific function in the class but there are many functions and I was wondering if there was a way to execute all of them at once.
Create a function to execute all of them and call it.
If you have found a way to execute one function - func1() -, it is easy to execute all:

Code Block
func executeAll() {
func1()
func2()
// etc
}


and call executeAll() as you called func1().
Executing an entire swift file
 
 
Q