timo
Yeah,
The goal is to make the standard overview appear a little more spacious and organized.
Here a very easy example:
import SwiftUI
struct ContentView: View {
var body: some View {
List {
Section(header: Text("KW 28")) {
DisclosureGroup("Total Hours: 40:15") {
Text("Di 09.07")
Text("Mo 08.07")
// Add more entries here
}
}
Section(header: Text("KW 27")) {
DisclosureGroup("Total Houres: 38:00") {
Text("Di 02.07")
Text("Mo 01.07")
// Add more entries here
}
}
// Add more sections for other weeks or months
}
.listStyle(.grouped)
.navigationTitle("Overview")
}
}
I think that would give the view even more potential to expand and keep an overview.
Especially with the footer / header options :-)