Skip to content

Instantly share code, notes, and snippets.

@jobedylbas
Last active April 24, 2020 14:37
Show Gist options
  • Save jobedylbas/29b787e8a3f25c939254bbf490dc5979 to your computer and use it in GitHub Desktop.
Save jobedylbas/29b787e8a3f25c939254bbf490dc5979 to your computer and use it in GitHub Desktop.
struct AnimatedImage: View {
@State private var image: Image?
private let imageNames: [String]
var body: some View {
image?
.resizable()
.scaledToFit()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment