以Strong为例:
1,在书写@property属性的地方写:
@property (nonatomic,strong) <#Class#> *<#object#>;
2,选中上述语句,用左键拖到下图中指示的代码片段在Xcode中的区域里,就新建了一个代码片段
CCDD6B94-2240-45F9-AA78-781239070CAE.png
以Strong为例:
1,在书写@property属性的地方写:
@property (nonatomic,strong) <#Class#> *<#object#>;
2,选中上述语句,用左键拖到下图中指示的代码片段在Xcode中的区域里,就新建了一个代码片段