Skip to content
CAI
Software that uses CAICheck a score

analogcode/Swift-Radio-Pro

66.9

Adequate · 14 November 2026

4.3k

lines of production code

Swift

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Swift Radio is an iOS application that streams radio stations and manages playback through a modern SwiftUI interface. It features a centralized audio engine that handles station catalogs, artwork caching, and persistent playback state across app lifecycle changes. The system extends its functionality to CarPlay environments, allowing users to browse and control stations from their vehicle's display. Recent updates have consolidated configuration, migrated dependencies to Swift Package Manager, and replaced legacy UIKit components with a coordinated, observable architecture.

How it got here

2015 — Modern iOS architecture migration

7 changes.

The project underwent a significant architectural overhaul to support modern iOS features, including CarPlay integration, dark mode, and the Scene-based lifecycle. This involved migrating from legacy storyboards and bundled libraries to a Coordinator pattern, programmatic configurations, and updated dependency management.

2016–2025 — CarPlay integration and SPM migration

4 changes.

The project expanded its platform support by implementing a CarPlay interface for station browsing and playback, while simultaneously modernizing its infrastructure by migrating dependencies to Swift Package Manager. This period also focused on improving development consistency and code quality through shared scheme configuration and comprehensive UI test coverage for the SwiftUI shell.

2026 — SwiftUI and Swift 6 migration

4 changes.

The Swift Radio application underwent a comprehensive re-architecture, migrating the user interface from UIKit to SwiftUI and updating the codebase to be compatible with Swift 6. This period involved restructuring the core library to introduce modern services for playback, station catalog management, and artwork loading, while centralizing app configuration and lifecycle management. The refactoring also improved localization support and established a robust, observable engine to coordinate audio playback across different app scenes.

Features

Add CarPlay interface with station list and now-playing indicators

Users can now access Swift Radio via CarPlay. A new CarPlaySceneDelegate establishes the CarPlay connection, displaying a list of radio stations fetched from the StationsManager. When a user selects a station, playback begins. The interface dynamically updates to reflect station changes and highlights the currently playing station in the list, ensuring the now-playing indicator stays in sync with the audio state.

SwiftRadio/CarPlay · high confidence

Removals

Removal of Spring library custom UI components and utilities

The Spring library's custom UI components and utility classes have been removed from the project. This includes the deletion of \AsyncButton\, \AsyncImageView\, \AutoTextView\, \BlurView\, \DesignableButton\, \DesignableImageView\, \DesignableLabel\, \DesignableTabBarController\, \DesignableTextField\, \DesignableTextView\, \DesignableView\, \ImageLoader\, \KeyboardLayoutConstraint\, \LoadingView\, \Misc\, \SoundPlayer\, and the core \Spring\ animation engine. Users relying on these specific Spring-based controls for animations, designable properties, or utility functions will no longer have access to them.

SwiftRadio/Libraries/Spring · high confidence

Behavioural changes

Centralized app configuration and modernized UI lifecycle

The app now uses a dedicated Config module to manage global settings, including a centralized tint color and gradient background, station data sources, and feature flags. User-facing strings have been migrated to a Localizable.xcstrings catalog for improved localization support. Additionally, the app lifecycle has been updated to use the modern UIScene architecture (SceneDelegate) with a coordinator-based navigation pattern, replacing the previous AppDelegate-centric approach.

SwiftRadio/Config · high confidence

Migrate launch screen from storyboard to Info.plist

The launch screen is no longer defined in the LaunchScreen.xib file; instead, the app now uses the UILaunchScreen key in Info.plist to configure the launch screen, simplifying the project structure and removing the dedicated storyboard file for this purpose.

SwiftRadio/Base.lproj · high confidence

Migrate to modern iOS architecture and add CarPlay support

The project has been updated to object version 54, reflecting a migration to Swift 5 and Xcode 14, and now includes a new CarPlay target with its own scene delegate. Navigation has been refactored from storyboards to a Coordinator pattern, and the app now uses a SceneDelegate for lifecycle management. The UI has been modernized with a new LogoShareView for sharing track details, a GradientBackgroundView, and a centralized Config service replacing the previous settings approach. Additionally, the app now supports localization via Localizable.xcstrings and integrates frameworks like LNPopupController and MarqueeLabel for enhanced playback controls and text display.

SwiftRadio.xcodeproj · high confidence

Migrate to modern iOS architecture with CarPlay support and dark mode

The app has been updated to use the modern Scene-based lifecycle (SceneDelegate) instead of the legacy AppDelegate, enabling support for multiple scenes and CarPlay integration via a dedicated Info-CarPlay.plist and entitlements. The user interface now defaults to Dark Mode, and the launch screen has been migrated from a storyboard to a programmatic configuration in Info.plist. Additionally, localization strings have been consolidated into the modern Localizable.xcstrings format, and legacy components like the old About screen and manual JSON parsing have been removed in favor of the new structure.

SwiftRadio · high confidence

Removal of bundled SwiftyJSON source file

The local copy of the SwiftyJSON library (SwiftRadio/Libraries/SwiftyJSON.swift) has been removed from the project. This change eliminates the bundled source code, implying that the application now relies on an external dependency manager or a different version of the library to provide JSON parsing capabilities.

SwiftRadio/Libraries · high confidence

Removed user-specific Xcode configuration files

The project no longer tracks per-developer settings such as breakpoints and scheme management configurations. This ensures that individual developer preferences do not interfere with the shared project state or cause unnecessary merge conflicts.

SwiftRadio.xcodeproj/xcuserdata · high confidence

Scheme migrated to shared location and updated for UI tests

The SwiftRadio scheme has been moved from user-specific storage (xcuserdata) to the shared project data (xcshareddata), ensuring consistent build and test configurations for all team members. The scheme's upgrade version has been updated to 2620, and the test configuration now targets SwiftRadioUITests instead of the previous SwiftRadioTests unit test bundle. Additionally, the launch action no longer includes the CG\_CONTEXT\_SHOW\_BACKTRACE environment variable.

SwiftRadio.xcodeproj/xcshareddata · high confidence

Swift Radio UI migrated to SwiftUI

The Swift Radio application interface has been rewritten using SwiftUI, replacing the previous UIKit implementation. This change introduces new SwiftUI views for the station catalog (StationsScreen, StationRow), the Now Playing popup player (NowPlayingView, PlaybackControls, NowPlayingOptionsSheet), and the About flow (AboutScreen, ContributorsScreen, FeaturesScreen, LibrariesScreen). The migration includes a new async GitHub client for fetching repository metadata and contributors, and updates the loading and station info screens to use the new framework.

(repo-wide) · high confidence

Swift Radio app re-architected for SwiftUI and Swift 6

The SwiftRadio/App module has been migrated from UIKit to SwiftUI, introducing a new app entry point (SwiftRadioApp) and a RootView that manages navigation and the popup playback bar. The app now uses a centralized AppEnvironment to compose shared services (stations, player, artwork) and inject them via SwiftUI's environment, replacing the previous global state pattern. CarPlay support is retained through a dedicated AppDelegate that configures scene connections, while a new UITestRadioPlayer provides deterministic playback for UI tests in debug builds. The folder structure has been reorganized and unused controllers removed.

SwiftRadio/App · high confidence

Swift RadioCore library introduces new playback, catalog, and UI architecture

The SwiftRadioCore package has been restructured to provide a modern, Swift 6–compatible foundation for the radio app. It introduces a new \PlayerService\ that manages audio session activation, playback state, and remote command handling, ensuring playback persists across activation timeouts and catalog updates. A new \StationsStore\ manages the station catalog, supporting both bundled and remote JSON sources, with logic to reconcile cached selections against current metadata. The package also includes a new \ArtworkLoader\ for efficient image caching and a \HandoffActivity\ component that generates outgoing Handoff URLs for the currently playing track. These changes replace the previous legacy audio setup with a shared, observable engine that coordinates playback between the SwiftUI and CarPlay scenes.

Packages/SwiftRadioCore · high confidence

Test coverage

Added comprehensive UI tests for the SwiftUI shell and streaming adapter

The SwiftRadioUITests target now includes a full suite of UI tests exercising the app's SwiftUI-based interface. These tests verify that the station list renders correctly with large titles, that selecting a station opens the popup bar and starts playback, and that the popup can be dismissed via drag gestures. The tests also cover the marquee animation for long track titles, file playback features like seeking and pausing, and the share sheet interaction flow. Additionally, the test bundle's Info.plist has been updated to reflect its bundle type.

SwiftRadioUITests · high confidence

Dependencies

Migrate dependencies to Swift Package Manager

The project now uses Swift Package Manager (SPM) for dependency management, replacing the previous system. The Package.resolved file pins specific versions for FRadioPlayer (0.2.2), LNPopupController (4.5.12), LNSystemMarqueeLabel (0.1.2), MarqueeLabel (4.5.3), and NVActivityIndicatorView (5.1.1).

(dependencies) · high confidence

Housekeeping

Updated workspace settings file permissions

The file permissions for the user-specific workspace settings (WorkspaceSettings.xcsettings) have been changed from read-write (644) to executable (755). This is a local configuration change specific to the developer's environment and does not affect the application's behavior or code.

SwiftRadio.xcodeproj/project.xcworkspace/xcuserdata/wu.xcuserdatad · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 68 → 67 (-0.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 97 → 97 (-0.2)
  • Architecture 95 → 96 (+0.4)
  • Maturity 73 → 72 (-1.1)
  • Readiness 53 → 58 (+5.4)
  • Security 78 → 63 (-14.7)
  • Performance 100 → 100 (+0.0)

Resolved (3)

  • Duplicated block (5 lines × 2) (Packages/SwiftRadioCore/Sources/SwiftRadioCore/Handoff/HandoffActivity.swift)
  • No ADRs found
  • Off-boarding risk: anonymized user #1

New (3)

  • Edited copies of one member (3 members, 3+ corresponding lines) (SwiftRadio/UI/CrossfadeImage.swift)
  • No ADRs found (SwiftRadio.xcodeproj/project.pbxproj)
  • Off-boarding risk: anonymized user #1

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

analogcode/Swift-Radio-Pro was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2a6b47c5735f5c84824f6630158ee507e436e1f2 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.