简体   繁体   English

Xcode查找并替换运行脚本

[英]Xcode find and replace run script

I need run script which will automatically replace one swift code with another in all swift files. 我需要运行脚本,该脚本将在所有swift文件中自动将一个swift代码替换为另一个swift代码。 For example replace: import AAA to import BBB 例如替换: import AAA to import BBB

您可以转到查找->查找并替换

You can go to Find -> Find and Replace, it is on the top bar. 您可以转到顶部栏上的查找->查找和替换。 Then you can write the name which you want to replace with the new name and click Done 然后,您可以用新名称输入要替换的名称,然后单击完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM