Como chamar a função do delegado de aplicativos em Swift

// get a reference to the app delegate
guard let let appDelegate: AppDelegate? = UIApplication.shared.delegate as? AppDelegate else { return }

// call function
appDelegate.someFunc()
Mobile Star