Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 1.27 KB

File metadata and controls

60 lines (37 loc) · 1.27 KB

Fui

Build Status

Find unused Objective-C imports.

Usage

gem install fui

Get Help

fui help

Find Unused Classes in the Current Directory

fui find

The find command lists all the files that contain unused imports and exits with the number of files found.

Find Unused Classes in a Path

fui --path=~/source/project/Name find

Find Unused Classes in a Path ignoring self XIB

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

Delete All Unused Class Files w/ Prompt

fui --path=~/source/project/Name delete --perform --prompt

XCode Plugin

Use xcfui for integration with XCode.

Contributing

There're a few feature requests and known issues. Please contribute! See CONTRIBUTING.

Copyright and License

Copyright (c) 2014, Daniel Doubrovkine, Artsy, based on code by Dustin Barker.

This project is licensed under the MIT License.