call function from another swift file code example Example: xcode execute function from a different file MyOtherClass().otherClassFunction()