How scorpio7736/mtg-pack-opener works
MTG Pack Opener is an unofficial SwiftUI simulator for opening virtual Magic: The Gathering packs and collecting the resulting cards locally by player profile. The principal workflow fetches random cards from Scryfall, adds them to the active profile’s collection, then presents interactive reveals; the Cards area browses saved quantities in grid or list form. Other documented capabilities include double-faced cards, settings and reference screens, connectivity awareness, and local notifications. Connections follow README statements and shown excerpts; unsampled implementation details are not inferred.
Main entry points: Main_View.swift Tabs and Navigation · Pack_View_Service.swift Pack Fetching · Pack_View.swift Pack Screen
Components 22
Pack Opening
- Pack Screen
MTGPackOpener-iOS/MTGPackOpener/MTGPackOpener/Views/Pack_View.swift - Pack Fetching
MTGPackOpener-iOS/MTGPackOpener/MTGPackOpener/Services/Pack_View_Service.swift - Card Records
- Card Faces
- Card Display Data
- Card Reveal
- Sound Effects
Collection
- Collection Management
- Local Collection
- Grid Browser
- List Browser
- Card Details
Profiles
- Profile Management
- Profile Data
- Profile Selector
App Experience
- Tabs and Navigation
MTGPackOpener-iOS/MTGPackOpener/MTGPackOpener/Views/Main_View.swift - Settings
- Connectivity Status
- Local Notifications
- Reference Screens
Other components
- Player
- Scryfall API
Connections 25
- Player → Tabs and Navigation: uses
README.md - Tabs and Navigation → Pack Screen: opens Packs
README.md - Pack Screen → Pack Fetching: requests pack
README.md - Pack Fetching → Scryfall API: fetches cards
MTGPackOpener-iOS/MTGPackOpener/MTGPackOpener/Services/Pack_View_Service.swift - Scryfall API → Pack Fetching: returns records
README.md - Pack Fetching → Card Records: decodes cards
MTGPackOpener-iOS/MTGPackOpener/MTGPackOpener/Services/Pack_View_Service.swift - Card Records → Card Faces: contains faces
- Player → Card Reveal: reveals cards
README.md - Card Reveal → Sound Effects: plays effects
- Pack Fetching → Collection Management: adds opened cards
README.md - Collection Management → Local Collection: persists locally
- Tabs and Navigation → Grid Browser: opens Cards
README.md - Tabs and Navigation → List Browser: offers list mode
README.md - Grid Browser → Collection Management: loads collection
- List Browser → Collection Management: loads collection
- Grid Browser → Card Details: opens card
- Card Details → Collection Management: deletes copies
- Card Details → Card Display Data: selects image
- Player → Profile Management: manages profiles
- Profile Management → Profile Data: uses profile data
- Player → Profile Selector: chooses profile
- Tabs and Navigation → Settings: opens Settings
README.md - Settings → Reference Screens: opens reference
- Player → Connectivity Status: network context
README.md - Settings → Local Notifications: configures reminders