32 lines
693 B
Swift
32 lines
693 B
Swift
//
|
|
// MainView.swift
|
|
// MainView
|
|
//
|
|
// Created by Felix Förtsch on 01.08.21.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct MainView: View {
|
|
var body: some View {
|
|
TabView {
|
|
CurriculumView().tabItem {
|
|
Label("My Curriculum", systemImage: "graduationcap")
|
|
}
|
|
CourseCatalogView().tabItem {
|
|
Label("Courses", systemImage: "list.bullet.rectangle.portrait")
|
|
}
|
|
SettingsView().tabItem {
|
|
Label("Settings", systemImage: "gear")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
struct MainView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
MainView().preferredColorScheme(.dark)
|
|
}
|
|
|
|
}
|