How illyadd/justlearnapp works
JustLearn is a SwiftUI vocabulary-learning app. Users onboard, manage words and tags, then practice with flashcards or typed translations; study progress is persisted and synchronized to a companion watch app. The graph includes the documented settings and reminder capabilities. Some UI and view-model implementations were not excerpted, so those relationships are shown only where the README or SOURCE INDEX supports them; watch connectivity and SwiftData behavior are grounded in the sampled source.
Main entry points: JustLearnApp.swift App entry · ContentView.swift Main tabs · WordService.swift Word service · SettingsView.swift Settings
Components 20
App experience
- App entry
JustLearn/App/JustLearnApp.swift - Onboarding
JustLearn/Features/Onboarding/OnBoardingView.swift - Main tabs
JustLearn/App/ContentView.swift - Settings
JustLearn/Features/Settings/SettingsView.swift - Settings logic
JustLearn/Features/Settings/SettingsViewModel.swift
Vocabulary management
- Word list
JustLearn/Features/WordList/WordListView.swift - Word editors
JustLearn/Features/WordList - Word validation
JustLearn/Core/Models/WordValidation.swift - Tag management
JustLearn/Features/TagsManagement/TagsManagementView.swift
Learning practice
- Flashcards
JustLearn/Features/Practice/Cards/CardView.swift - Writing practice
JustLearn/Features/Practice/Writing/WritingView.swift - Session logic
JustLearn/Features/Practice/PracticeSessionViewModel.swift
Persistence and platform
- Word service
JustLearn/Core/Persistence/WordService.swift - Word and tag models
JustLearn/Core/Models/Words.swift - Reminder service
JustLearn/Core/Notifications/NotificationService.swift - Phone sync
JustLearn/Core/Sync/WatchSyncManager.swift - Watch app
JustLearnWatch Watch App/WatchContentView.swift - Watch receiver
JustLearnWatch Watch App/PhoneSyncReceiver.swift - SwiftData store
Other components
- Learner
Connections 24
- Learner → App entry: opens app
- App entry → Onboarding: shows first
JustLearn/App/JustLearnApp.swift - App entry → Main tabs: shows after setup
JustLearn/App/JustLearnApp.swift - Main tabs → Word list: opens tab
JustLearn/App/ContentView.swift - Main tabs → Flashcards: opens tab
JustLearn/App/ContentView.swift - Main tabs → Writing practice: opens tab
JustLearn/App/ContentView.swift - Main tabs → Settings: opens tab
JustLearn/App/ContentView.swift - Word list → Word editors: presents editors
JustLearn/Features/WordList/WordListView.swift - Word editors → Word validation: validates fields
JustLearn/Features/WordList/AddWordSheet.swift - Word list → Word service: updates words
JustLearn/Features/WordList/WordListView.swift - Settings → Tag management: opens manager
JustLearn/Features/Settings/SettingsView.swift - Settings → Settings logic: delegates settings
JustLearn/Features/Settings/SettingsView.swift - Settings logic → Reminder service: schedules reminders
JustLearn/Features/Settings/SettingsViewModel.swift - Flashcards → Session logic: uses session
JustLearn/Features/Practice/Cards/CardView.swift - Writing practice → Session logic: uses session
JustLearn/Features/Practice/Writing/WritingView.swift - Session logic → Word service: records study
JustLearn/Features/Practice/PracticeSessionViewModel.swift - App entry → Word service: creates service
JustLearn/App/JustLearnApp.swift - App entry → SwiftData store: creates container
JustLearn/App/JustLearnApp.swift - Word service → SwiftData store: saves changes
JustLearn/Core/Persistence/WordService.swift - Word service → Phone sync: syncs updates
JustLearn/Core/Persistence/WordService.swift - Phone sync → Word and tag models: fetches words
JustLearn/Core/Sync/WatchSyncManager.swift - Phone sync → Watch receiver: sends word context
- Watch receiver → SwiftData store: applies updates
JustLearnWatch Watch App/PhoneSyncReceiver.swift - Watch app → Watch receiver: activates receiver