Command line tool that detects unused resource strings in iOS or macOS applications.
Abandoned Strings is a command line tool that detects unused resource strings in iOS or macOS applications by scanning source code files. It helps developers identify and remove localization strings that are no longer referenced, reducing app bloat and maintenance overhead.
iOS and macOS developers working on localized applications who need to clean up unused strings in their `.strings` files.
It provides a simple, automated way to find abandoned strings without manual code review, though it uses a basic heuristic that may not catch all edge cases.
Command line program that detects unused resource strings in an iOS or OS X application.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Easy to run with a single terminal command pointing to the source directory, as shown in the README's usage example.
Scans Objective-C (.h, .m), Swift (.swift), and JavaScript bundle (.jsbundle) files, covering key iOS/macOS development languages.
Uses a straightforward search algorithm that prioritizes speed and simplicity, making it quick for initial scans of unused strings.
Specifically targets .strings files to help reduce app size and maintenance overhead by identifying abandoned resource strings.
Does not account for commented-out code, so it may incorrectly flag strings referenced in comments as abandoned, leading to false positives.
Cannot differentiate between string identifiers used for localization and coincidental text matches, as admitted in the README's 'More details' section.
Ineffective when strings are referenced via constants or dynamically constructed, which the README explicitly states reduces reliability.
Last updated in 2016 for Swift 3, with no indication of recent maintenance, so it may not support newer Swift versions or modern code patterns.