younatics/YNDropDownMenu
58.9
Adequate · 15 November 2026
1k
lines of production code
Swift
with JavaScript
5
measurements over time
What this system is
YNDropDownMenu is an iOS UI component library that provides a customizable drop-down menu with support for state-based button images. The system has been modernized to version 4.0.0, requiring iOS 13 and Swift 6, and is distributed as a compiled framework. It includes a demo application and unit tests to verify initialization, delegate wiring, and memory management.
Behavioural changes
Added Xcode workspace and user-specific scheme configurations
The project now includes a workspace file (contents.xcworkspacedata) that references the main project, along with an IDEWorkspaceChecks.plist to suppress Xcode's workspace warning. Additionally, user-specific scheme management files and a demo app scheme have been added for developers seungyounyi and sunghyun, establishing the YNDropDownMenuDemo as the default runnable scheme.
YNDropDownMenu.xcodeproj/project.xcworkspace · high confidence
Modernized demo app for iOS 13+ with Swift 6 concurrency readiness
The YNDropDownMenuDemo application has been updated to target iOS 13 and modernize its codebase for Swift 6 compatibility. This includes migrating the AppDelegate to use the @main entry point, updating the Main storyboard to use the modern Scene lifecycle (replacing the deprecated application delegate lifecycle methods), and refreshing the XIB files to the latest Interface Builder format. The demo code in ViewController.swift has been updated to use the new \setStatesImages\ API for managing button states and demonstrates the new \imageMaskingwithColor\ utility for applying tint colors to images.
YNDropDownMenuDemo · high confidence
Project structure migrated to framework-based distribution
The YNDropDownMenu project has been restructured to build and distribute the library as a compiled framework (YNDropDownMenu.framework) rather than a static library or source bundle. This change updates the Xcode project configuration to embed the framework into the demo application, ensuring that consumers of the library receive a pre-compiled binary. This structural shift supports the modernization efforts mentioned in the commit history, such as Swift 6 compatibility and SPM integration, by providing a standard, distributable artifact for iOS applications.
YNDropDownMenu.xcodeproj · high confidence
YNDropDownMenu API modernization and memory leak fix
The YNDropDownMenu framework has been updated to modernize its public API and fix a memory management issue. The \buttonImages\ property and legacy \setImageWhen\ methods have been removed in favor of the new \setStatesImages(normalImages:selectedImages:disabledImages:)\ method, which accepts arrays of images for normal, selected, and disabled states. Additionally, the \blurEffectView\ is now correctly detached from the superview during deallocation to prevent a memory leak where the view would remain visible after the menu was destroyed. Deprecated methods such as \alwaysSelectedAt\ and \disabledMenuAt\ remain available but are marked for removal.
YNDropDownMenu · high confidence
Test coverage
Added unit tests for YNDropDownMenu initialization and delegate wiring
Added deterministic unit tests for the YNDropDownMenu component, verifying that the menu correctly configures its item count and buttons upon initialization, and that YNDropDownView instances properly wire their delegates back to the menu. The tests also confirm that view actions, such as hiding the menu or changing a menu title, are correctly forwarded to the delegate.
Tests · high confidence
Dependencies
YNDropDownMenu updated to version 4.0.0 with Swift 6 and iOS 13 support
The YNDropDownMenu library has been updated to version 4.0.0, requiring iOS 13 or later and Swift 6. This change modernizes the dependency manifests (Package.swift and YNDropDownMenu.podspec) to reflect the new minimum platform and language version requirements, ensuring compatibility with the latest Swift toolchain.
(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 60 → 59 (-0.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 98 → 89 (-8.6)
- Architecture 69 → 69 (+0.0)
- Maturity 54 → 54 (+0.0)
- Readiness 50 → 50 (+0.0)
- Security 100 → 100 (+0.0)
Resolved (2)
- Duplicated block (16 lines × 2) (YNDropDownMenu/YNDropDownMenu.swift)
- No ADRs found
New (4)
- Edited copies of one member (3 members, 15+ corresponding lines) (YNDropDownMenu/YNDropDownMenu.swift)
- Edited copy of a member (14 corresponding lines) (YNDropDownMenu/YNDropDownMenu.swift)
- Edited copy of a member (14 corresponding lines) (YNDropDownMenu/YNDropDownMenu.swift)
- No ADRs found (YNDropDownMenu.xcodeproj/project.pbxproj)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
younatics/YNDropDownMenu 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 15 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 08361a35f500d6dc9078ea83b42efba35c6d7c03 — 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.