Skip to content
CAI
Software that uses CAICheck a score

exyte/PopupView

52.0

Adequate · 14 November 2026

4.4k

lines of production code

Swift

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added Xcode workspace configuration for the Swift Package

An Xcode workspace file (contents.xcworkspacedata) has been added to the .swiftpm directory, configuring the workspace to reference the package itself. This enables the package to be opened and edited directly in Xcode as a standalone project, facilitating local development and debugging of the library code.

.swiftpm · high confidence

Added sample app assets and resources

The PopupExample project now includes a complete set of asset catalog resources, including a new accent color with dark mode support, a full suite of app icons for iPhone and iPad, and a collection of image assets (avatars, icons, and illustrations) used to populate the example UI.

PopupExample · high confidence

Initial release of PopupView with configurable display modes and dismissal behaviors

This change introduces the PopupView library, providing SwiftUI modifiers to present popups, toasts, and scrollable sheets. Users can configure popups to display as overlays, sheets, or independent windows, and control dismissal via tap, drag, or auto-hide timers. The API supports custom backgrounds, tap-through options, and keyboard-safe positioning, with specific handling for TVOS remote commands and macOS drag dismissal states.

Sources/PopupView · high confidence

PopupView Utils: New drag-to-dismiss, scroll integration, and keyboard-safe window management

This change introduces several new utility components within the PopupView library to enhance interaction and platform compatibility. A new DragToDismissHelper and ScrollPopupModifier enable users to dismiss popups by dragging, with specific logic for scrollable content where the drag gesture transitions from scrolling to dismissing once the scroll reaches the top. The WindowManager now supports a \becomesKeyWindow\ option, allowing popups to be presented without stealing keyboard focus from the presenting screen, which is critical for non-interactive toasts. Additionally, a KeyboardHeightHelper monitors keyboard state for iOS, and a TransparentNonAnimatableFullScreenModifier provides a way to present full-screen content without animation, addressing specific UI state requirements on iOS.

Sources/PopupView/Utils · high confidence

Test coverage

1 commit adding/updating tests in Tests

Test coverage in Tests — 1 commit (1 fix), 1 file: “Fix premature dismissal while first popup layout is pending”.

Tests · high confidence · unverified

Dependencies

Initial Swift Package Manager manifest for PopupView

The project now includes a Package.swift file, enabling installation via Swift Package Manager. The package targets iOS 17, macOS 14, tvOS 17, and watchOS 10, and enables the StrictConcurrency experimental feature for the PopupView target.

(dependencies) · 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 47 → 52 (+5.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 98 → 94 (-4.3)
  • Architecture 97 → 98 (+0.8)
  • Maturity 48 → 52 (+3.5)
  • Readiness 17 → 27 (+10.7)
  • Security 100 → 100 (+0.0)

Resolved (7)

  • Duplicated block (10 lines × 2) (PopupExample/PopupExample/GithubExample/MockPopupViews/Toasts.swift)
  • No automated tests
  • No tests found
  • Off-boarding risk: anonymized user #1
  • Repeated repair: Sources/PopupView/PopupBody.swift (Sources/PopupView/PopupBody.swift)
  • Repeated repair: Sources/PopupView/PopupModifier.swift (Sources/PopupView/PopupModifier.swift)
  • Test reliability not included

New (7)

  • Edited copies of one member (3 members, 32+ corresponding lines) (PopupExample/PopupExample/GithubExample/MockPopupViews/Popups.swift)
  • Edited copy of a member (10 corresponding lines) (PopupExample/PopupExample/GithubExample/MockPopupViews/FloatsBig.swift)
  • Edited copy of a member (15 corresponding lines) (Sources/PopupView/PopupBody.swift)
  • Edited copy of a member (17 corresponding lines) (Sources/PopupView/PublicModifiers.swift)
  • Edited copy of a member (20 corresponding lines) (Sources/PopupView/PublicModifiers.swift)
  • Edited copy of a member (22 corresponding lines) (PopupExample/PopupWatchExample Watch App/ContentView.swift)
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 3 commits — 1 feature/other, 2 fixes

By area

  • (root) — 2 commits
  • (repo) — 1 commit

Notable commits

  • fix: Fix premature dismissal while first popup layout is pending
  • fix: Merge pull request #302 from Corotata/codex/fix-delayed-first-layout
  • change: Update readme

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

Survey your own repository

exyte/PopupView 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 f8769ffd9278eb5835b9bf88173f9027ccfc433f — 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.