struct ContentView: View {
   @State private var appData = ApplicationData.shared

   var body: some View {
     List {
        ForEach(appData.items) { section in
             Section(header: Text(section.name)) {
                 OutlineGroup(section.options ?? [], children: \.options) { item in
                    Text(item.name)
                 }
             }
         }
      }
   }
}