ios开发

xcode批量修改内容

2017-02-05  本文已影响0人  夜未殇

1、修改工程名

在工程右边会出现,identity and Type 选项,修改 Name 回车->rename

2.、EditAll in Scope批量修改文件内变量
选择菜单 Editor --> EditAll in Scope:


修改其中任意位置的变量名,其他位置变量名随之修改。

3、将局部变量替换为全局变量


点击Editor-->Fix All in Scope

Paste_Image.png

4、批量替换内容

Paste_Image.png

替换整个工程内的相关内容


替换单个文件中的相关内容

Paste_Image.png
上一篇 下一篇

猜你喜欢

热点阅读