[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8063":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},8063,"fui","dblock\u002Ffui","dblock","Find unused Objective-C imports.","",null,"Ruby",2047,179,37,10,0,1,28.77,"MIT License",false,"master",true,[24,25],"imports","objective-c","2026-06-12 02:01:48","Fui\n==========\n\n[![Gem Version](https:\u002F\u002Fbadge.fury.io\u002Frb\u002Ffui.svg)](https:\u002F\u002Fbadge.fury.io\u002Frb\u002Ffui)\n[![Test](https:\u002F\u002Fgithub.com\u002Fdblock\u002Ffui\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdblock\u002Ffui\u002Factions\u002Fworkflows\u002Ftest.yml)\n\nFind unused Objective-C imports.\n\n> **What fui does:** finds header (`.h`) files that are never imported anywhere in your project — i.e. classes that can potentially be deleted entirely.\n>\n> **What fui does not do:** find `#import` statements within a file that are unused by that file's code. For that, use a tool like [Clang's unused-includes warning](https:\u002F\u002Fclang.llvm.org\u002Fdocs\u002FDiagnosticsReference.html) or AppCode.\n\n# Table of Contents\n\n- [Usage](#usage)\n  - [Get Help](#get-help)\n  - [Find Unused Classes in the Current Directory](#find-unused-classes-in-the-current-directory)\n  - [Find Unused Classes in any Path](#find-unused-classes-in-any-path)\n  - [Skip Interface Builder (.xib) Files](#skip-interface-builder-xib-files)\n  - [Ignore Local Imports](#ignore-local-imports)\n  - [Ignore Global Imports](#ignore-global-imports)\n  - [Ignore a Path](#ignore-a-path)\n  - [Ignore Multiple Paths](#ignore-multiple-paths)\n  - [Delete All Unused Class Files with Prompt](#delete-all-unused-class-files-with-prompt)\n- [Xcode Plugin](#xcode-plugin)\n- [Contributing](#contributing)\n- [Copyright and License](#copyright-and-license)\n\n## Usage\n\n```sh\ngem install fui\n```\n\n### Get Help\n\n```sh\nfui help\n```\n\n### Find Unused Classes in the Current Directory\n\n```sh\nfui find\n```\n\nThe `find` command lists all header (`.h`) files that are not imported anywhere in the project, and exits with the number of such files found.\n\n### Find Unused Classes in any Path\n\n```sh\nfui --path=~\u002Fsource\u002Fproject\u002FName find\n```\n\n### Skip Interface Builder (.xib) Files\n\nRunning `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.\n\n```sh\nfui -x --path=~\u002Fsource\u002Fproject\u002FName find\n```\n\n### Ignore Local Imports\n\nRunning `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`).\n\n```sh\nfui -l --path=~\u002Fsource\u002Fproject\u002FName find\n```\n\n### Ignore Global Imports\n\nRunning `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 \u003CFramework\u002FFoo.h>`).\n\n```sh\nfui -g --path=~\u002Fsource\u002Fproject\u002FName find\n```\n\n### Ignore a Path\n\nRunning `fui` with `-i` (or `--ignore-path`) will, for example, ignore a `Pods` folder when searching for headers or referencing files.\n\n```sh\nfui --path=~\u002Fsource\u002Fproject\u002FName --ignore-path=Pods find\n```\n\n### Ignore Multiple Paths\n\nRunning `fui` with `-i` (or `--ignore-path`) can ignore multiple folders when searching for headers or referencing files.\n\n```sh\nfui --path=~\u002Fsource\u002Fproject\u002FName --ignore-path=Pods --ignore-path=Libraries find\n```\n\n### Delete All Unused Class Files with Prompt\n\n```sh\nfui --path=~\u002Fsource\u002Fproject\u002FName delete --perform --prompt\n```\n\n## Xcode Plugin\n\nUse [xcfui](https:\u002F\u002Fgithub.com\u002Fjcavar\u002Fxcfui) for integration with Xcode.\n\n## Contributing\n\nThere're [a few feature requests and known issues](https:\u002F\u002Fgithub.com\u002Fdblock\u002Ffui\u002Fissues). Please contribute! See [CONTRIBUTING](CONTRIBUTING.md).\n\n## Copyright and License\n\nCopyright (c) 2014-2018, Daniel Doubrovkine, [Artsy](http:\u002F\u002Fartsy.github.io), based on code by [Dustin Barker](https:\u002F\u002Fgithub.com\u002Fdstnbrkr).\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","fui 是一个用于查找未使用的 Objective-C 导入头文件的工具。它能够识别项目中从未被引用过的 `.h` 文件，从而帮助开发者清理无用代码。fui 的核心功能包括在指定路径下搜索未使用的类文件，并提供了忽略特定路径、本地导入或全局导入等选项，以满足不同需求。该工具使用 Ruby 语言编写，易于安装和使用，适用于需要优化和清理 Objective-C 项目的场景，特别是当项目规模较大且维护时间较长时，fui 可以有效提高代码质量和管理效率。",2,"2026-06-11 03:15:52","top_language"]