How grantbrooksgoodman/panther works
This repository is an iOS messaging app. Its central user workflow is app initialization, root navigation into chat, rendering conversation messages, and managing message delivery against session state. The wider product also includes onboarding, audio and media messaging, contacts, translation, notifications, settings, and PenPals. The graph preserves these documented or tree-visible capabilities, but the README is empty and most feature implementations were not excerpted; links without direct evidence are therefore omitted.
Main entry points: CommonServices.swift Common services · SessionStore.swift Session store · ChatPageViewController.swift Chat screen · ChatPageViewService.swift Chat coordination
Components 27
App and navigation
- App initialization
Sources/Application.swift - Scene lifecycle
Sources/Bundle/Delegates/SceneDelegate.swift - Root view
Sources/Navigation/RootView.swift - Navigation dispatch
Sources/Navigation/RootNavigationService.swift - Feature navigators
Sources/Bundle/Navigators - Settings flow
Sources/Modules/Content/User/Services/SettingsPageViewService.swift
Onboarding
- Onboarding flow
Sources/Modules/Content/Onboarding
Messaging experience
- Chat screen
Sources/Modules/Content/User/Views/ChatPageView/ChatPageViewController.swift - Chat construction
Sources/Modules/Content/User/Services/ChatPageView/ChatPageViewControllerFactory.swift - Chat coordination
Sources/Modules/Content/User/Services/ChatPageView/ChatPageViewService.swift - Media preview
Sources/Modules/Content/User/Services/ChatPageView/Sources/MediaMessagePreviewService.swift - Message model
Sources/Modules/Networking/Sources/Message/Models/Message.swift - Media file model
Sources/Modules/Common/Models/MediaFile.swift
Session and networking
- User model
Sources/Modules/Networking/Sources/User/Models/User.swift - Conversation model
Sources/Modules/Networking/Sources/Conversation/Models/Conversation.swift - Client session
Sources/Modules/Session/ClientSession.swift - Session store
Sources/Modules/Session/State/Services/SessionStore.swift - Conversation sync
Sources/Modules/Session/Sync/Services/ConversationSyncService.swift - Integrity service
Sources/Modules/Networking/Sources/Integrity/Services/IntegrityService.swift
Shared capabilities
- Audio services
Sources/Modules/Common/Services/Sources/Audio/AudioService.swift - Common services
Sources/Modules/Common/Services/CommonServices.swift - Contact services
Sources/Modules/Common/Services/Sources/Contacts - Notifications
Sources/Modules/Common/Services/Sources/NotificationService.swift - Translation services
Sources/Modules/Common/Services/Sources/AIEnhancedTranslationService.swift - PenPals service
Sources/Modules/Common/Services/Sources/PenPalsService.swift
Other components
- App user
- Networking backend
Connections 27
- App user → App initialization: launches
- Scene lifecycle → Client session: uses
Sources/Bundle/Delegates/SceneDelegate.swift - Scene lifecycle → Common services: uses
Sources/Bundle/Delegates/SceneDelegate.swift - Scene lifecycle → Root view: shows
Sources/Bundle/Delegates/SceneDelegate.swift - Navigation dispatch → Feature navigators: dispatches
Sources/Navigation/RootNavigationService.swift - App user → Onboarding flow: completes
- App user → Chat screen: uses
- Chat construction → Chat screen: constructs
Sources/Modules/Content/User/Services/ChatPageView/ChatPageViewControllerFactory.swift - Chat construction → Chat coordination: configures
Sources/Modules/Content/User/Services/ChatPageView/ChatPageViewControllerFactory.swift - Chat screen → Chat coordination: notifies lifecycle
Sources/Modules/Content/User/Views/ChatPageView/ChatPageViewController.swift - Chat coordination → Conversation sync: starts observation
Sources/Modules/Content/User/Services/ChatPageView/ChatPageViewService.swift - Chat screen → Message model: renders
Sources/Modules/Content/User/Views/ChatPageView/ChatPageViewController+MessagesDataSource.swift - Media preview → Chat coordination: uses
Sources/Modules/Content/User/Services/ChatPageView/Sources/MediaMessagePreviewService.swift - Message model → Media file model: exposes media
Sources/Modules/Networking/Sources/Message/Models/Message.swift - Client session → Session store: contains
Sources/Modules/Session/ClientSession.swift - Client session → User model: references
Sources/Modules/Session/ClientSession.swift - Session store → Message model: stores
Sources/Modules/Session/State/Services/SessionStore.swift - Session store → User model: stores
Sources/Modules/Session/State/Services/SessionStore.swift - Session store → Conversation model: stores
Sources/Modules/Session/State/Services/SessionStore.swift - Conversation model → Session store: resolves from
Sources/Modules/Networking/Sources/Conversation/Models/Conversation.swift - User model → Session store: resolves conversations
Sources/Modules/Networking/Sources/User/Models/User.swift - Integrity service → Networking backend: accesses
- Common services → Audio services: exposes
Sources/Modules/Common/Services/CommonServices.swift - Common services → Contact services: exposes
Sources/Modules/Common/Services/CommonServices.swift - Common services → Notifications: exposes
Sources/Modules/Common/Services/CommonServices.swift - Common services → Translation services: exposes
Sources/Modules/Common/Services/CommonServices.swift - Common services → PenPals service: exposes
Sources/Modules/Common/Services/CommonServices.swift