r/iOSProgramming • u/Alarmed-Stranger-337 • Feb 09 '26
Discussion I asked former The Browser Company iOS engineers (currently at Perplexity) advice on SwiftUI development and here is what they said :)
379
Upvotes


3
u/xadlowfkj Feb 10 '26
Talk is cheap. Show me their code.
79
u/nathantannar4 SwiftUI Feb 09 '26
Hello there
56
u/penx15 Feb 09 '26
... acutal good advice??? In r/iOSProgramming ?!
14
u/mynewromantica Feb 09 '26
What do they mean about the view builders? Like keep the view builder functions in the view struct and not set it as a property to be set on the struct, right?
9
u/teomatteo89 Feb 09 '26
Basically what Apple explains here
https://www.youtube.com/live/yXAQTIKR8fk?si=PMY4ktI1-dIWm32G
15
u/reverendo96 Feb 09 '26
the secret to buttery smooth SwiftUI
7
u/Sdmf195 Feb 09 '26
Nice 🤩
2
u/calayer Feb 12 '26
I feel like I should have given more thorough advice lol
1
u/dnesdan Mar 07 '26
Splitting giant views into real subviews is probably the most useful takeaway here.
1
u/Quick_Hotel_6937 Mar 11 '26
Great advice here. The point about understanding how state drives re-renders is so important. I'd also add that extracting small, focused views really helps — both for readability and for preventing unnecessary redraws. Playgrounds/Previews for live iteration is a game changer too.
1
u/[deleted] Feb 10 '26
[removed] — view removed comment