Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Do Custom Drawing With a SwiftUI Canvas

Do Custom Drawing With a SwiftUI Canvas

Daily Coding Tip 061

Millie Sturgeon's avatar
Millie Sturgeon
Apr 14, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Do Custom Drawing With a SwiftUI Canvas
Share
Image by Pexels from Pixabay

We’re going to start by making a simple Button.

This is a button that has the title Hello, and tapping it will give it the title Goodbye. You can try this out by pressing the play button at the top of the Preview in the Preview Canvas and running a Live Preview. The important thing that I haven’t mentioned is that I have give…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share