How omkar492/matchmate works
MatchMate is an offline-first iOS matchmaking app. A user browses a paginated match feed, opens profile details, and accepts or declines matches; decisions are cached and synchronized between screens. The documented architecture also includes filtered decision lists, offline fallback, and on-device AI bio generation. The graph follows README-described interactions; most implementation files were not sampled, so undocumented calls and wiring are omitted.
Main entry points: ProfileRepositoryImpl.swift Profile Repository · MatchListView.swift Match List · MatchDetailViewModel.swift Detail ViewModel · MatchDetailView.swift Detail View
Components 20
App Setup
- App Entry
MatchMate/MatchMate/App/MatchMateApp.swift - App Composition
MatchMate/MatchMate/App/AppComposition.swift
Matchmaking UI
- Match List
MatchMate/MatchMate/Features/List/MatchListView.swift - List ViewModel
MatchMate/MatchMate/Features/List/MatchListViewModel.swift - Match Card
MatchMate/MatchMate/Features/List/MatchCardView.swift - Detail View
MatchMate/MatchMate/Features/Detail/MatchDetailView.swift - Detail ViewModel
MatchMate/MatchMate/Features/Detail/MatchDetailViewModel.swift - Shared UI
MatchMate/MatchMate/Features/Shared
Profiles and Repository
- Profile Repository
MatchMate/MatchMate/Repositories/ProfileRepositoryImpl.swift - Repository Contract
MatchMate/MatchMate/Repositories/ProfileRepository.swift - Match Profile
MatchMate/MatchMate/Models/Domain/MatchProfile.swift - Match Status
MatchMate/MatchMate/Models/Domain/MatchStatus.swift - Random User DTO
MatchMate/MatchMate/Models/DTO/RandomUserDTO.swift - Profile Entity
MatchMate/MatchMate/Models/Persistence/ProfileEntity.swift
Data and Integrations
- Remote Data Source
MatchMate/MatchMate/Data/Remote/RandomUserRemoteDataSource.swift - Random User API
- Local Data Source
MatchMate/MatchMate/Data/Local/SwiftDataLocalDataSource.swift - SwiftData Store
- Bio Generator
MatchMate/MatchMate/Services/AI/FoundationBioGenerator.swift
Other components
- User
Connections 22
- User → App Entry: launches
README.md - App Entry → App Composition: configures
- User → Match List: browses
README.md - Match List → List ViewModel: observes
README.md - Match List → Match Card: renders
README.md - Match List → Shared UI: uses
- List ViewModel → Profile Repository: fetches profiles
README.md - User → Detail View: opens profile
README.md - Detail View → Detail ViewModel: observes
README.md - Detail View → Shared UI: uses
- Detail ViewModel → Profile Repository: updates status
README.md - Detail ViewModel → Bio Generator: requests bio
README.md - Profile Repository → Remote Data Source: fetches pages
README.md - Profile Repository → Local Data Source: reads and writes
README.md - Profile Repository → List ViewModel: broadcasts updates
README.md - Profile Repository → Detail ViewModel: broadcasts updates
README.md - Remote Data Source → Random User API: requests profiles
README.md - Local Data Source → SwiftData Store: persists profiles
README.md - Remote Data Source → Random User DTO: decodes
- Local Data Source → Profile Entity: stores
- Profile Repository → Match Profile: coordinates
- Profile Repository → Match Status: preserves decisions
README.md