- Initialize iOS project with 6-tab navigation structure - Configure custom Light/Dark themes and AppColors - Define SwiftData models for Tasks, Tags, Goals, and TrackingRecords - Setup relationships (Super/Sub tags) and cascade delete rules - Implement Observable TrackingEngine for real-time timer updates
26 lines
761 B
Swift
26 lines
761 B
Swift
import SwiftUI
|
|
|
|
struct SplashView: View {
|
|
var body: some View {
|
|
ZStack {
|
|
Color.tfBackground.ignoresSafeArea()
|
|
VStack(spacing: 14) {
|
|
Image(systemName: "chart.bar.fill")
|
|
.font(.system(size: 60, weight: .semibold))
|
|
.foregroundStyle(Color.tfPrimary)
|
|
Text("TallyFlow")
|
|
.font(.system(size: 38, weight: .bold, design: .rounded))
|
|
.foregroundStyle(Color.tfOnBackground)
|
|
Text(String(localized: "splash.tagline"))
|
|
.font(.subheadline)
|
|
.foregroundStyle(Color.tfMuted)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
SplashView()
|
|
.environment(AppPreferences())
|
|
}
|