Battling with loops in SwiftUI

Week 400 was posted by Charanjit Chana on 2025-06-28.

Honestly my biggest annoyance with SwiftUI is just any type of loop. Yes, I’m totally spoilt having worked with PHP and JavaScript over the years, but I do feel that they’re so fragile in SwiftUI.

I’m at the point in the development cycle of my app where I have simplified it all enough to not have to worry about more complicated implementations or iterations but it took a while to get there.

I could complain just as much about binding and SwiftData, especially when you are trying to convince them, but I think looping through data is definitely the one that deserves calling out!


Tags:


Tweet WhatsApp Keep Upvote Digg Tumblr Pin Blogger LinkedIn Skype LiveJournal Like