Displaying recursive data using OutlineGroup in SwiftUI

OutlineGroup is a SwiftUI structure that computes views on demand from an underlying collection of tree-structured data. In this post, Majid Jabrayilov shows us how to use OutlineGroup, as well as demonstrating how it can be used with SwiftUI's List type to display styled lists of tree-structured data.