Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我在 Images.xcassets 中创建了一个颜色集,我想找到对这种颜色的所有引用(包括代码和 xib 等),但是 Xcode 的搜索功能似乎无法完成这种工作,我可以获得对 Images.xcassets 中内容的所有引用吗?
好的,似乎没有比这样的 shell 命令更好的解决方案(其中 L_F3F3F3_D_000000 是 xcassets 文件中的颜色集名称)
grep -i -r "L_F3F3F3_D_000000" ./