Initial Commit

This commit is contained in:
Vladimir Dubovik
2024-11-13 17:41:03 +03:00
commit d3f448e288
15 changed files with 332 additions and 0 deletions

View File

@ -0,0 +1,32 @@
//
// ContentView.swift
// Schedule ICTIS
//
// Created by G412 on 13.11.2024.
//
import SwiftUI
struct ContentView: View {
@State private var isActiveTabBar: TabModel = .schedule
@State private var isTabBarHidden: Bool = false
var body: some View {
VStack {
TabView(selection: $isActiveTabBar) {
ScheduleView()
.tag(TabModel.schedule)
Text("Tasks")
.tag(TabModel.tasks)
Text("Settings")
.tag(TabModel.settings)
}
CustomTabBarView(isActiveTabBar: $isActiveTabBar)
.padding(.bottom, 10)
}
.background(.secondary.opacity(0.15))
}
}
#Preview {
ContentView()
}