选中代码,右击选择create code snippet,如图

将需要重写的代码修改为<#name#>,例如将UIButton修改为<#name#>
其中completion是代码提示的关键词,

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