Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Nil Coalescing
(Uncensored)
subscribe
Using enumerated() with SwiftUI List and ForEach to show item numbers
https://nilcoalescing.com/blog/UsingEnumeratedWithListAndForEach
links
backlinks
Starting with Swift 6.2 and iOS 26, EnumeratedSequence conforms to RandomAccessCollection, allowing enumerated() to be used directly in ForEach and List views.