Chapter 13
Ten SwiftUI Tips and Tricks
IN THIS CHAPTER
Seeing what you can do with SwiftUI
Becoming a better SwiftUI developer
SwiftUI makes creating your iOS applications easy and efficient. However, there are neat tricks that are not so obvious. In this chapter, you learn some of these tips and tricks so that you can become a better SwiftUI developer.
Resuming Live Preview
My number-one pet peeve about SwiftUI is that the Live Preview feature in Xcode doesn’t always work. Very often, changes made to your code will cause the automatic previewing feature to pause. Even though your code is perfectly correct and there is no error, the Live Preview just can’t seem to update automatically.
Of course, you can click the Resume button to update the preview, but you waste precious time moving your mouse to click the button.
Get SwiftUI For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.