How ilakshaygupt/soundly-ios works
Main Components
a. Client Applications:
• iOS App (Main Application)
• WatchOS App (Companion App)
• Bi-directional communication between iOS and WatchOS apps
b. Core Features Modules:
• Authentication System
• Music Player System
• Search Engine
• Library Management
• User Playlist System
c. External Services (to be inferred):
• Backend API Server
• Media Storage Server
• Authentication Server
Architectural Patterns to Highlight
• Models (e.g., SongModel, PlaylistModel)
• Views (Screen files)
• ViewModels (e.g., LoginViewModel, PlayerViewModel)
Component Relationships
┌─────────────────────────────────────────────────────────────┐
• Client Applications │
• ┐ ┌──────────────────┐│
• iOS App │◄──────WatchKit───────►│ WatchOS App ││
• ┬───────┘ └──────────────────┘│
• ▼ │
┌─────────────────┐ │
• Core Services │ │
• ┴───────────────────────────────────────┐ │
• ┌───────────┐ ┌──────────┐ ┌────────────┐ ┌────────┐ │ │
• Auth │ │ Player │ │ Library │ │ Search │ │ │
• Module │ │ Module │ │ Module │ │ Module │ │ │
• ┬─────┘ └────┬─────┘ └─────┬──────┘ └───┬────┘ │ │
• ┼──────────────┼─────────────┼────────────┼───────┘ │
• ▼ ▼ ▼ ▼ │
┌─────────────────────────────────────────────────────────────┘
• External Services │
• ┐ ┌──────────────┐ ┌────────────────┐ │
• Auth Server │ │ Media Server │ │ API Gateway │ │
• ┘ └──────────────┘ └────────────────┘ │
Specific Implementation Details
• Authentication flow (Login/SignUp/OTP)
• Music playback system with AVFoundation
• Data persistence (KeychainWrapper usage)
• Network layer for API communications
• WatchOS connectivity pattern
Technical Stack Indicators
Technology badges/labels:
• SwiftUI
• AVFoundation
• WatchKit
• Keychain
• NetworkImage