Skip to content

Instantly share code, notes, and snippets.

@pMalvasio
Created August 17, 2020 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pMalvasio/93a02c5fb8d2f35509d78df8571915cd to your computer and use it in GitHub Desktop.
Save pMalvasio/93a02c5fb8d2f35509d78df8571915cd to your computer and use it in GitHub Desktop.
struct LottieView: UIViewRepresentable {
func makeUIView(context: UIViewRepresentableContext<LottieView>) -> UIView {
let view = UIView(frame: .zero)
return view
}
func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<LottieView>) { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment