以Strong为例:
1,在书写@property属性的地方写:
@property (nonatomic,strong) <#Class#> *<#object#>;
2,选中上述语句,用左键拖到下图中指示的代码片段在Xcode中的区域里,就新建了一个代码片段
![](https://img.haomeiwen.com/i1130084/1631c5122685c3a7.png)
以Strong为例:
1,在书写@property属性的地方写:
@property (nonatomic,strong) <#Class#> *<#object#>;
2,选中上述语句,用左键拖到下图中指示的代码片段在Xcode中的区域里,就新建了一个代码片段
本文标题:Xcode增加代码片段
本文链接:https://www.haomeiwen.com/subject/fpgvkftx.html
网友评论