Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Pin SwiftUI Previews So You Can See Them Anywhere

Pin SwiftUI Previews So You Can See Them Anywhere

Daily Coding Tip 056

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

Share this post

Type Safely
Type Safely
Pin SwiftUI Previews So You Can See Them Anywhere
Share
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.

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