I’m cleaning up a Swift project and wanted a time saving tool to show me all of the unused variables and funcs. This smarty, Paul Taykalo, created a Ruby script that works like a charm.
Here’s his Medium article on the subject.
Here’s the GitHub repo to download.
Here’s some sample output from the project I’m working on: