ksnowlv

回顾过去,总结以往;立足现在,铭记当下;技术为主,笔记而已.

为Xcode添加快捷代码模板

| Comments

为了更快捷的写代码,可以添加代码模板。

1.使用快捷键Command Option Control 2来打开代码片段库

2.把你的代码片段向代码片段库中拖。

image

3.选择该片段,并查看

image

4.点击 edit进行相关属性和代码模板编辑

image

在Xcode代码区输入completion shortcut即可看到提示效果

其它两个类似:

image

image

Comments

comments powered by Disqus
Included file 'custom/after_footer.html' not found in _includes directory