Type Safely

Type Safely

Pin SwiftUI Previews So You Can See Them Anywhere

Daily Coding Tip 056

Millie Sturgeon's avatar
Millie Sturgeon
Apr 09, 2022
∙ Paid
Image by Gino Crescoli from Pixabay

Create a new SwiftUI app project and call it whatever you want.

Add a new Swift file called PressButton, but don’t select the SwiftUI file template as we won’t need that.

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture