Empower Apps cover image

Behind the Scenes of SwiftUI with Aviel Gross

Empower Apps

00:00

Swift UI - Is There a Way to Do That?

View builder is essentially a function where it just builds the view. It's pretty much run every time it draws on the screen or redraws on the screen. Swift UI will call the body of the same view more than once for a single render, just for layout. If you print, there's this method that's called the underscore print changes. I think people should just use it almost always before they whenever they build heavy UI.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app