Text search though all .xib files in Xcode?

后端 未结 10 501
遥遥无期
遥遥无期 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:49

    You can just change the search scope in Xcode by defining a new scope. Go to the search panel and below the search bar there is an icon that has three dots (probably defaulted to "In Workspace"). Click that and under SEARCH SCOPES, click "New Scope". Define it to be "Name" / "ends with" / ".xib" .

提交回复
热议问题