选中代码,右击选择create code snippet,如图
![](https://img.haomeiwen.com/i2844964/be3857aee12e4502.png)
将需要重写的代码修改为<#name#>,例如将UIButton修改为<#name#>
其中completion是代码提示的关键词,
![](https://img.haomeiwen.com/i2844964/b355b2cfbb435c27.png)
选中代码,右击选择create code snippet,如图
将需要重写的代码修改为<#name#>,例如将UIButton修改为<#name#>
其中completion是代码提示的关键词,
本文标题:XCode创建自定义代码块模型
本文链接:https://www.haomeiwen.com/subject/oizppltx.html
网友评论