Build a small drawing app: one marker, a few colours, an eraser, and a clear button. It should look hand-drawn, not polished.
I’ll keep this to one canvas view and a small stroke model. I’m starting with the stroke type and the canvas.
Explored project structure7 files · SwiftUI package
Edited BirbDrawView.swiftAdded the canvas and the tool row
Checked the buildCompleted successfully
The drawing app is in place. Every stroke goes into one array, the tool row picks the colour and the width, and clear empties the same array.
3 files changed · 42s