How to Quickly update SwiftUI Preview in Xcode | CompuScoop.com

If you spend any time creating an app in SwiftUI and Xcode, then you probably use the previews pane a lot.

Thank you for reading this post, don't forget to subscribe!

You also probably know that when you tap the arrow to refresh the preview, that it will give you the latest output of the layout of the app.  What if there was a faster way to get the latest preview inside the preview pane?  There IS.

Here’s how:

  • Press the key combination: {Command} + {Option} + {P}.
  • That’s it. 

The SwiftUI Preview Pane will refresh.

About Post Author

(Visited 78 times, 1 visits today)


Advertisement

You may have Missed:

Verified by MonsterInsights