How team-shortcutszip/macc-team-happyanding works
ShortcutsZip is an iOS app for sharing, discovering, and maintaining Apple Shortcuts. The main user journey is to browse or search shortcuts, inspect details and updates, then download or share a shortcut; users can also publish shortcuts and curated collections. The README describes ranking, categories, liked shortcuts, recommendations, comments, and dark mode. Edges are limited to relationships visible in the excerpts or explicitly documented in the README; several feature implementations are represented by their exact enclosing directories because their source was not sampled.
Main entry points: Shortcuts.swift Shortcut record · ReadShortcutViewModel.swift Detail and comments logic · WriteShortcutViewModel.swift Shortcut publishing logic · SearchView.swift Shortcut search
Components 24
Shortcut discovery
- Explore shortcuts
HappyAnding/HappyAnding/Views/ExploreShortcutViews - Download rankings
HappyAnding/HappyAnding/Views/ExploreShortcutViews - Category browsing
HappyAnding/HappyAnding/Model/Category.swift - Shortcut search
HappyAnding/HappyAnding/Views/SearchView.swift - Search logic
HappyAnding/HappyAnding/Views/SearchViewModel.swift - Curation discovery
HappyAnding/HappyAnding/Views/ExploreCurationViews - Shortcut recommendations
HappyAnding/HappyAnding/ViewModel/ShortcutsZipViewModel.swift - Shortcut details
HappyAnding/HappyAnding/Views/ReadShortcutViews/ReadShortcutView.swift - Detail and comments logic
HappyAnding/HappyAnding/ViewModel/ReadShortcutViewModels/ReadShortcutViewModel.swift - Shortcut record
HappyAnding/HappyAnding/Model/Shortcuts.swift
Shortcut publishing
- Shortcut editor
HappyAnding/HappyAnding/Views/WriteShortcutViews/WriteShortcutView.swift - Shortcut publishing logic
HappyAnding/HappyAnding/ViewModel/WriteShortcutViewModel.swift - Curation authoring
HappyAnding/HappyAnding/Views/WriteCurationViews - Share extension controller
HappyAnding/ShareExtension/CustomShareViewController.swift - Share shortcut editor
HappyAnding/ShareExtension/ShareExtensionWriteShortcutView.swift - Share extension logic
HappyAnding/ShareExtension/ShareExtensionViewModel.swift
Accounts and community
- Apple sign-in
HappyAnding/HappyAnding/Views/SignInViews/AppleAuthCoordinator.swift - Profile and settings
HappyAnding/HappyAnding/Views/MyPageViews - Version updates
HappyAnding/HappyAnding/Views/ReadShortcutViews/UpdateShortcutView.swift
App platform
- App entry
HappyAnding/HappyAnding/Views/HappyAndingApp.swift - Tab navigation
HappyAnding/HappyAnding/Views/TabView/ShortcutTabView.swift
Other components
- iPhone user
- Shortcuts share action
- Firebase services
Connections 27
- iPhone user → App entry: opens
- App entry → Tab navigation: presents
- Tab navigation → Explore shortcuts: navigates
- iPhone user → Explore shortcuts: browses
- iPhone user → Download rankings: views ranking
- iPhone user → Category browsing: browses categories
- iPhone user → Curation discovery: explores collections
- iPhone user → Shortcut recommendations: requests recommendations
- iPhone user → Shortcut search: searches
- Shortcut search → Search logic: delegates
HappyAnding/HappyAnding/Views/SearchView.swift - Search logic → Shortcut record: filters shortcuts
HappyAnding/HappyAnding/Views/SearchViewModel.swift - iPhone user → Shortcut details: opens shortcut
- Shortcut details → Detail and comments logic: delegates
HappyAnding/HappyAnding/Views/ReadShortcutViews/ReadShortcutView.swift - Detail and comments logic → Shortcut record: loads shortcut
HappyAnding/HappyAnding/ViewModel/ReadShortcutViewModels/ReadShortcutViewModel.swift - iPhone user → Shortcut editor: writes shortcut
- Shortcut editor → Shortcut publishing logic: delegates
HappyAnding/HappyAnding/Views/WriteShortcutViews/WriteShortcutView.swift - Shortcut publishing logic → Shortcut record: updates shortcut
HappyAnding/HappyAnding/ViewModel/WriteShortcutViewModel.swift - iPhone user → Curation authoring: creates curation
- Shortcuts share action → Share extension controller: shares shortcut
- Share extension controller → Share shortcut editor: presents editor
HappyAnding/ShareExtension/CustomShareViewController.swift - Share shortcut editor → Share extension logic: uses form logic
HappyAnding/ShareExtension/ShareExtensionWriteShortcutView.swift - iPhone user → Apple sign-in: signs in
- iPhone user → Profile and settings: manages profile
- iPhone user → Version updates: reviews updates
- Detail and comments logic → Firebase services: reads records
- Shortcut publishing logic → Firebase services: persists changes
- Share extension logic → Shortcut record: builds shortcut
HappyAnding/ShareExtension/ShareExtensionViewModel.swift