Function A() calles function B() and function B() calls function A().
Some uses forward declarations like Pascal.
Swift needs to have those in the same line.
// -- Swift: get around mutual dependencies: Put code in the same line. Strange notation.
doMain(); func doMain()
{
println("Hello from doMain!")
}
Helpful?
Let us know if you liked the post. That’s the only way we can improve.















