Does not conform to protocol

Can anyone point out what I am missing here. Thank you

You're missing a conformance to UIViewRepresentable, as the error message says. If you click on the red circle with the white dot in the middle, Xcode will offer to fill in the conformance for you. However, I suggest you read up on UIViewRepresentable and you need to do to implement it.

1 Like

Thank you for your response. I am still struggling with UIViewRepresentable.

Sorry for the trouble, I found the problem, I simply had a bracket in the wrong spot. Thank you