Created
June 29, 2021 08:32
-
-
Save headStyleColorRed/3938240c99df1d9e9ed3a9231509be83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ControllerWrapper: UIViewControllerRepresentable { | |
typealias UIViewControllerType = <Your_Controller> | |
func makeUIViewController(context: UIViewControllerRepresentableContext<ControllerWrapper>) -> | |
ControllerWrapper.UIViewControllerType { | |
return <Your_Controller>() | |
} | |
func updateUIViewController(_ uiViewController: ControllerWrapper.UIViewControllerType, | |
context: UIViewControllerRepresentableContext<ControllerWrapper>) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment