AP3
Learning OS

Swift + SwiftUI / learning project

Native Casset companion

A focused native companion that begins with bounded repository-local catalog truth and earns its way toward listening.

Overview

A focused native companion that begins with bounded repository-local catalog truth and earns its way toward listening.

Problem

The current repository-local Headless API exposes bounded artist and catalog metadata, not a production-ready native media, auth, release, save, or playback contract. Native work has to make those prerequisites explicit.

Goals

  • Consume the exact Headless artist/catalog contracts or fixtures through a typed and tested Swift client.
  • Design explicit contracts for releases, saves, artwork, protected media, and authentication before presenting those capabilities as native features.
  • Establish one native playback authority that reuses server access and catalog truth; never create competing clocks inside the native app.

Architecture

Repository-local Headless artist/catalog contract or fixtures → Swift networking/model layer → SwiftUI projection; later, explicit auth/media contracts → one native playback owner → device surfaces.

Design

Let the device change the interaction while keeping Casset's audiovisual identity and product nouns recognizable.

Implementation

Begin read-only and availability-aware. Prove networking, decoding, failure, and accessibility; use fixtures or locally owned media until auth, access, and media contracts are designed.

Lessons

  • Native is a specialization built on product and systems fundamentals.
  • A projection can feel platform-specific without becoming a parallel source of truth.

Future improvements

Add native audio experiments and TestFlight observation after the primary catalog loop is dependable.