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?

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.

Did you find a solution?

I created FB21271207 to request this

Editable OutlineGroup
 
 
Q