This is a companion discussion topic for the original entry at https://www.raywenderlich.com/6485147-drawing-in-ios-with-swiftui/lessons/29
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/6485147-drawing-in-ios-with-swiftui/lessons/29
1 Like
Very nice tutorial! The code even runs under Catalyst on the Mac.
The only glitch I found was a tap gesture in the ShapesGrid does not always select a shape. It takes a bit of poking to get a shape.
I do have a suggestion. There is a lot of important commentary regarding why this or that is done. I think some of that knowledge should be in the code as comments.
That’s great to know! I didn’t test it under Catalyst.
Yes, I think it’s because the shapes aren’t filled? You could try filling them and see if that makes a difference.
That’s a good suggestion. Thank you for your feedback