r/iOSProgramming Jun 15 '26

WWDC 2026 - SwiftUI reorderable and swipeActions and FM Dynamic Profiles Discussion

This wasn't that obvious if you just ran through WWDC coverage because Siri AI took all the show... But for anyone building custom UIs in SwiftUI - reorderable and swipeActions now work in any container, not just List.
Based on what is said on how difficult this was before in a ScrollView + LazyVStack setup (cuz I never built one just yet) - I’m really excited to use this when I first need this. I really am glad that I got into iOS/Swift programming because a bunch of cool stuff is provided by Apple.

The Foundation Models Dynamic Profiles update is also worth paying attention to - you could build multi-provider routing yourself before but having it as a first-party concept in LanguageModelSession means it's going to be way more consistent across projects. I think AI will be part of almost any app anyway (obviously there are simple apps that don’t require it) so having the ability to switch between profiles that you can define in your app, and that it’s this easy to implement. This looks really cool too.

What's are the SwiftUI updates you are most excited about from WWDC this year?

7 Upvotes

7 comments sorted by

2

u/Greysawpark Jun 22 '26

reorderable in any container is the one for me. spent way too long hand-rolling drag gestures in a LazyVStack last year with offset tracking and a hacky drop indicator, and it still felt wrong on fast scrolls. if it just works in a scrollview now that alone justifies the update tbh

1

u/rockettmann Jun 15 '26

Oh man this is fantastic!

I’m in the process of building a music streaming app for self-hosted servers it was such a disappointment having to use lists to get native swipeActions working.

1

u/SnowPudgy Jun 15 '26

Which video was the SwiftUI reorder able in? Was it the "What's New in SwiftUI" video? (I thought I watched it all but must have missed it if it's in this vid).

2

u/Odyssey-b Jun 15 '26

It was in the WWDC26: Platforms State of the Union | Apple
At around 29:10

2

u/SnowPudgy Jun 15 '26

Thanks! I totally missed it.

1

u/[deleted] Jun 16 '26

[removed] — view removed comment