How boostcampwm-2024/ios05-heim works
Main Components
a. Presentation Layer:
• UI Components (organized by features):
• Record Feature
• Diary Detail
• Music Match
• Report
• Settings
• MVVM-C Architecture components for each feature
• Common UI components and extensions
b. Domain Layer:
• Use Cases
• Entities
• Repository Interfaces
• Error Handling
• ML Model Integration
c. Data Layer:
• Repositories Implementation
• Network Providers
• Storage Implementations
• External Services Integration:
• Gemini AI
• Spotify Integration
• CoreML Integration
Key Architectural Elements
• Clean Architecture layers with clear boundaries
• MVVM-C pattern implementation
• Data flow between components
• External service integrations
• Core features implementation
[User Interface Layer]
• ↑↓
[Presentation Layer (MVVM-C)]
• ↑↓
[Domain Layer]
• ↑↓
[Data Layer]
• ↑↓
[External Services/Infrastructure]
Component Relationships
• Data flow direction
• Dependencies between layers
• Communication patterns
• Event handling
Special Focus Areas
Following key features:
• Voice Recording & Processing Pipeline
• Emotion Analysis Flow using CoreML
• Gemini AI Integration for Response Generation
• Spotify Music Integration
• Local Storage Implementation
Technical Details
• Swift Concurrency flows
• Combine data binding patterns
• Repository pattern implementation
• Coordinator pattern flow
• Error handling paths