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