Text search though all .xib files in Xcode?

后端 未结 10 524
遥遥无期
遥遥无期 2020-12-22 19:35

This seems like such a basic task, but I\'m stumped.

How, in Xcode, do you execute a textual search though (the XML contents of) all the .xib files in a project?

10条回答
  •  难免孤独
    2020-12-22 19:52

    I had the same problem and I resolved it using some console commands.

    1) Open Terminal on your Mac

    2) run "grep -i -r --include=*.xib "searchtext" /your/project/path" command

    It will search in the path "/your/project/path" and will print the complete path of all files xib that use the "searchtext".

    Hope this will help you!

提交回复
热议问题