Reading time: 2 min
This recipe shows how to implement a custom separator/divider in any SwiftUI list feeded by a
ForEach - like
LazyHStack, etc. The end result looks like this:
The gist of the recipe is to implement a custom
ForEach that inserts separators between items. It...
Search our recipes!
Have a recipe for us?
Get in touch and let's grow the cookbook together!