Skip to content

Instantly share code, notes, and snippets.

@CyberBison
Created January 28, 2020 09:41
Show Gist options
  • Save CyberBison/4ad368368791ecd9c1304231cccc0814 to your computer and use it in GitHub Desktop.
Save CyberBison/4ad368368791ecd9c1304231cccc0814 to your computer and use it in GitHub Desktop.
extension CameraViewController : UIViewControllerRepresentable{
public typealias UIViewControllerType = CameraViewController
public func makeUIViewController(context: UIViewControllerRepresentableContext<CameraViewController>) -> CameraViewController {
return CameraViewController()
}
public func updateUIViewController(_ uiViewController: CameraViewController, context: UIViewControllerRepresentableContext<CameraViewController>) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment