https://mandarapte.com/apple/call-method-function-firstviewcontroller-swift-class-called-secondviewcontroller-swift-ios-macos-project-xcode/
Call function from FirstViewController to SecondViewController using Swift Programming Language.