Find unused Objective-C imports.
gem install fui
fui help
fui find
The find
command lists all the files that contain unused imports and exits with the number of files found.
fui --path=~/source/project/Name find
e.g. a Foo.h will be marked as unused even if a Foo.xib reference the class (and if there is no other reference to Foo.h...)
fui -x --path=~/source/project/Name find
fui --path=~/source/project/Name delete --perform --prompt
Use xcfui for integration with XCode.
There're a few feature requests and known issues. Please contribute! See CONTRIBUTING.
Copyright (c) 2014, Daniel Doubrovkine, Artsy, based on code by Dustin Barker.
This project is licensed under the MIT License.