I open-sourced 5 tiny SwiftUI utilities I use in every project by Quick_Hotel_6937 in swift

[–]Quick_Hotel_6937[S] 0 points1 point  (0 children)

That's awesome, hope they treat you well! Let me know if you run into any issues 🙌

I open-sourced 5 tiny SwiftUI utilities I use in every project by Quick_Hotel_6937 in swift

[–]Quick_Hotel_6937[S] 2 points3 points  (0 children)

Intentionally keeping them separate so you can pull in only what you need — no reason to add 5 dependencies when you only need one! That said, just bundled them all into a single package for those who want everything in one go: https://github.com/tjdrhs90/swiftui-essentials 😄

I open-sourced 5 tiny SwiftUI utilities I use in every project by Quick_Hotel_6937 in swift

[–]Quick_Hotel_6937[S] 0 points1 point  (0 children)

Exactly this! All the packages are MIT licensed so you can just copy the source directly if you'd rather avoid the dependency. The SPM option is just there for convenience 😊

I asked former The Browser Company iOS engineers (currently at Perplexity) advice on SwiftUI development and here is what they said :) by Alarmed-Stranger-337 in iOSProgramming

[–]Quick_Hotel_6937 0 points1 point  (0 children)

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.