Editable OutlineGroup

A SwiftUI List on Mac can contain a ForEach, which implements DynamicViewContent and thus provides automatic drag & drop editing with onInsert, onDelete and onMove.

How can this editing by accomplished with the new hierarchical OutlineGroup?
Post not yet marked as solved Up vote post of mprudhom Down vote post of mprudhom
742 views
  • Did you find a solution? There's nothing on the web for this. I've tried to implement it with .onDrag and .onDrop and with swipeAction(), however it only works well on the Mac, not on iOS.

Add a Comment