You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The find command lists all the files that contain unused imports and exits with the number of files found.
Find Unused Classes in any Path
fui --path=~/source/project/Name find
Skip Interface Builder (.xib) Files
Running fui with -x (or --ignore-xib-files) will, for example, mark Foo.h as unused when Foo.xib holds a reference to the Foo class and no other references to Foo.h exist.
fui -x --path=~/source/project/Name find
Ignore Local Imports
Running fui with -l (or --ignore-local-imports) will, for example, mark Foo.h as unused when Bar.h contains a local (quotation syntax) import of Foo.h (eg. #import Foo.h).
fui -l --path=~/source/project/Name find
Ignore Global Imports
Running fui with -g (or --ignore-global-imports) will, for example, mark Foo.h as unused when Bar.h contains a global (bracket syntax) import of Foo.h (eg. #import <Framework/Foo.h>).
fui -g --path=~/source/project/Name find
Ignore a Path
Running fui with -i (or --ignore-path) will, for example, ignore a Pods folder when searching for headers or referencing files.